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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLevelMembers
(RolapLevel level, TupleReader.MemberBuilder memberBuilder, List<RolapMember> srcMembers) Deprecated.Adds a hierarchy to retrieve members from.int
Deprecated.protected void
prepareTuples
(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.boolean
Deprecated.Reads next tuple, notifying all internal targets.readTuples
(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult) Deprecated.Performs the read.void
setMaxRows
(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:TupleReader
Adds a hierarchy to retrieve members from.- Specified by:
addLevelMembers
in interfaceTupleReader
- Overrides:
addLevelMembers
in 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:
prepareTuples
in classSqlTupleReader
-
readMembers
public TupleList readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult) Deprecated.Description copied from interface:TupleReader
Performs the read.- Specified by:
readMembers
in interfaceTupleReader
- Overrides:
readMembers
in 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:TupleReader
Performs the read.- Specified by:
readTuples
in interfaceTupleReader
- Overrides:
readTuples
in 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.
-