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
  • Constructor Details

    • HighCardSqlTupleReader

      public HighCardSqlTupleReader(TupleConstraint constraint)
      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 interface TupleReader
      Overrides:
      addLevelMembers in class SqlTupleReader
      Parameters:
      level - level that the members correspond to
      memberBuilder - used to build new members for this level
      srcMembers - 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 class SqlTupleReader
    • 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 interface TupleReader
      Overrides:
      readMembers in class SqlTupleReader
      Parameters:
      dataSource - source for reading tuples
      partialResult - partially cached result that should be used instead of executing sql query
      newPartialResult - 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 interface TupleReader
      Overrides:
      readTuples in class SqlTupleReader
      Parameters:
      jdbcConnection - Data source
      partialResult - List of rows from previous pass
      newPartialResult - 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.