public interface TupleReader
SqlTupleReader.| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
TupleReader.MemberBuilder
Factory to create new members for a
 hierarchy from SQL result. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addLevelMembers(RolapLevel level,
               TupleReader.MemberBuilder memberBuilder,
               List<RolapMember> srcMembers)
Adds a hierarchy to retrieve members from. 
 | 
Object | 
getCacheKey()
Returns an object that uniquely identifies the Result that this
  
TupleReader would return. | 
void | 
incrementEmptySets()
Indicates that there was an empty argument somewhere in the tuple. 
 | 
TupleList | 
readMembers(DataSource dataSource,
           TupleList partialResult,
           List<List<RolapMember>> newPartialResult)
Performs the read. 
 | 
TupleList | 
readTuples(DataSource dataSource,
          TupleList partialResult,
          List<List<RolapMember>> newPartialResult)
Performs the read. 
 | 
void addLevelMembers(RolapLevel level, TupleReader.MemberBuilder memberBuilder, List<RolapMember> srcMembers)
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 levelTupleList readTuples(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
dataSource - Data sourcepartialResult - List of rows from previous passnewPartialResult - Populated with a new list of rowsTupleList readMembers(DataSource dataSource, TupleList partialResult, List<List<RolapMember>> newPartialResult)
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 listObject getCacheKey()
TupleReader would return. Clients may use this as a key for
 caching the result.void incrementEmptySets()