Package mondrian.rolap
Class HighCardSqlTupleReader
java.lang.Object
mondrian.rolap.SqlTupleReader
mondrian.rolap.HighCardSqlTupleReader
- All Implemented Interfaces:
TupleReader
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLevelMembers(RolapLevel level, TupleReader.MemberBuilder memberBuilder, List<RolapMember> srcMembers) Deprecated.Adds a hierarchy to retrieve members from.intDeprecated.protected voidprepareTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult, List<TargetBase> targetGroup) Deprecated.readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) Deprecated.Performs the read.booleanDeprecated.Reads next tuple, notifying all internal targets.readTuples(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 Details
-
HighCardSqlTupleReader
Deprecated.
-
-
Method Details
-
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.
-