@Deprecated public class HighCardSqlTupleReader extends SqlTupleReader
TupleReader.MemberBuilder
constraint
Constructor and Description |
---|
HighCardSqlTupleReader(TupleConstraint constraint)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addLevelMembers(RolapLevel level,
TupleReader.MemberBuilder memberBuilder,
List<RolapMember> srcMembers)
Deprecated.
Adds a hierarchy to retrieve members from.
|
int |
getMaxRows()
Deprecated.
|
protected void |
prepareTuples(DataSource dataSource,
TupleList partialResult,
List<List<RolapMember>> newPartialResult,
List<TargetBase> targetGroup)
Deprecated.
|
TupleList |
readMembers(DataSource dataSource,
TupleList partialResult,
List<List<RolapMember>> newPartialResult)
Deprecated.
Performs the read.
|
boolean |
readNextTuple()
Deprecated.
Reads next tuple, notifying all internal targets.
|
TupleList |
readTuples(DataSource jdbcConnection,
TupleList partialResult,
List<List<RolapMember>> newPartialResult)
Deprecated.
Performs the read.
|
void |
setMaxRows(int maxRows)
Deprecated.
|
addLevelMemberSql, bumpNullMember, getCacheKey, getEnumTargetCount, getEvaluator, incrementEmptySets, isAllowHints, setAllowHints
public HighCardSqlTupleReader(TupleConstraint constraint)
public void addLevelMembers(RolapLevel level, TupleReader.MemberBuilder memberBuilder, List<RolapMember> srcMembers)
TupleReader
addLevelMembers
in interface TupleReader
addLevelMembers
in class SqlTupleReader
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 levelprotected void prepareTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult, List<TargetBase> targetGroup)
prepareTuples
in class SqlTupleReader
public TupleList readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
TupleReader
readMembers
in interface TupleReader
readMembers
in class SqlTupleReader
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 listpublic TupleList readTuples(DataSource jdbcConnection, TupleList partialResult, List<List<RolapMember>> newPartialResult)
TupleReader
readTuples
in interface TupleReader
readTuples
in class SqlTupleReader
jdbcConnection
- Data sourcepartialResult
- List of rows from previous passnewPartialResult
- Populated with a new list of rowspublic boolean readNextTuple()
public void setMaxRows(int maxRows)
public int getMaxRows()
Copyright © 2019 Hitachi Vantara. All rights reserved.