Class 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
    • Field Detail

      • maxRows

        int maxRows
        Deprecated.
    • Constructor Detail

      • HighCardSqlTupleReader

        public HighCardSqlTupleReader​(TupleConstraint constraint)
        Deprecated.
    • Method Detail

      • prepareTuples

        protected void prepareTuples​(javax.sql.DataSource dataSource,
                                     TupleList partialResult,
                                     java.util.List<java.util.List<RolapMember>> newPartialResult)
        Deprecated.
        Overrides:
        prepareTuples in class SqlTupleReader
      • readMembers

        public TupleList readMembers​(javax.sql.DataSource dataSource,
                                     TupleList partialResult,
                                     java.util.List<java.util.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​(javax.sql.DataSource jdbcConnection,
                                    TupleList partialResult,
                                    java.util.List<java.util.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