Package mondrian.rolap
Class HighCardSqlTupleReader
- java.lang.Object
-
- mondrian.rolap.SqlTupleReader
-
- mondrian.rolap.HighCardSqlTupleReader
-
- All Implemented Interfaces:
TupleReader
@Deprecated public class HighCardSqlTupleReader extends SqlTupleReader
Deprecated.Deprecated for Mondrian 4.0.Reads the members of a single level (level.members) or of multiple levels (crossjoin).- Since:
- Dec, 2007
- Author:
- luis f. canals
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.rolap.TupleReader
TupleReader.MemberBuilder
-
-
Field Summary
-
Fields inherited from class mondrian.rolap.SqlTupleReader
constraint
-
-
Constructor Summary
Constructors Constructor Description HighCardSqlTupleReader(TupleConstraint constraint)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddLevelMembers(RolapLevel level, TupleReader.MemberBuilder memberBuilder, List<RolapMember> srcMembers)Deprecated.Adds a hierarchy to retrieve members from.intgetMaxRows()Deprecated.protected voidprepareTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult, List<TargetBase> targetGroup)Deprecated.TupleListreadMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)Deprecated.Performs the read.booleanreadNextTuple()Deprecated.Reads next tuple, notifying all internal targets.TupleListreadTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)Deprecated.Performs the read.voidsetMaxRows(int maxRows)Deprecated.-
Methods inherited from class mondrian.rolap.SqlTupleReader
addLevelMemberSql, bumpNullMember, getCacheKey, getEnumTargetCount, getEvaluator, incrementEmptySets, isAllowHints, setAllowHints
-
-
-
-
Constructor Detail
-
HighCardSqlTupleReader
public HighCardSqlTupleReader(TupleConstraint constraint)
Deprecated.
-
-
Method Detail
-
addLevelMembers
public void addLevelMembers(RolapLevel level, TupleReader.MemberBuilder memberBuilder, List<RolapMember> srcMembers)
Deprecated.Description copied from interface:TupleReaderAdds a hierarchy to retrieve members from.- Specified by:
addLevelMembersin interfaceTupleReader- Overrides:
addLevelMembersin classSqlTupleReader- Parameters:
level- level that the members correspond tomemberBuilder- used to build new members for this levelsrcMembers- if set, array of enumerated members that make up this level
-
prepareTuples
protected void prepareTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult, List<TargetBase> targetGroup)
Deprecated.- Overrides:
prepareTuplesin classSqlTupleReader
-
readMembers
public TupleList readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Deprecated.Description copied from interface:TupleReaderPerforms the read.- Specified by:
readMembersin interfaceTupleReader- Overrides:
readMembersin classSqlTupleReader- Parameters:
dataSource- source for reading tuplespartialResult- partially cached result that should be used instead of executing sql querynewPartialResult- if non-null, return the result of the read; note that this is a subset of the full return list- Returns:
- a list of RolapMember
-
readTuples
public TupleList readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)
Deprecated.Description copied from interface:TupleReaderPerforms the read.- Specified by:
readTuplesin interfaceTupleReader- Overrides:
readTuplesin classSqlTupleReader- Parameters:
jdbcConnection- Data sourcepartialResult- List of rows from previous passnewPartialResult- Populated with a new list of rows- Returns:
- a list of tuples
-
readNextTuple
public boolean readNextTuple()
Deprecated.Reads next tuple, notifying all internal targets.- Returns:
- whether there are any more rows
-
setMaxRows
public void setMaxRows(int maxRows)
Deprecated.
-
getMaxRows
public int getMaxRows()
Deprecated.
-
-