Class RolapConnection.NonEmptyResult

  • All Implemented Interfaces:
    Result
    Enclosing class:
    RolapConnection

    static class RolapConnection.NonEmptyResult
    extends ResultBase
    A NonEmptyResult filters a result by removing empty rows on a particular axis.
    • Field Detail

      • underlying

        final Result underlying
    • Constructor Detail

      • NonEmptyResult

        NonEmptyResult​(Result result,
                       Execution execution,
                       int axis)
        Creates a NonEmptyResult.
        Parameters:
        result - Result set
        execution - Execution context
        axis - Which axis to make non-empty
    • Method Detail

      • getLogger

        protected org.apache.log4j.Logger getLogger()
        Specified by:
        getLogger in class ResultBase
      • getCell

        public Cell getCell​(int[] externalPos)
        Description copied from interface: Result
        Returns the cell at a given set of coordinates. For example, in a result with 4 columns and 6 rows, the top-left cell has coordinates [0, 0], and the bottom-right cell has coordinates [3, 5].