Class BatchLoader.Batch

  • Enclosing class:
    BatchLoader

    public class BatchLoader.Batch
    extends java.lang.Object
    • Constructor Detail

    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getConstrainedColumnsBitKey

        public BitKey getConstrainedColumnsBitKey()
      • loadAggregation

        public final void loadAggregation​(java.util.List<java.util.concurrent.Future<java.util.Map<Segment,​SegmentWithData>>> segmentFutures)
      • getFirstDistinctMeasure

        final RolapStar.Measure getFirstDistinctMeasure​(java.util.List<RolapStar.Measure> measuresList)
        Returns the first measure based upon a distinct aggregation, or null if there is none.
      • canBatch

        boolean canBatch​(BatchLoader.Batch other)
        Returns whether another Batch can be batched to this Batch.

        This is possible if:

      • columns list is super set of other batch's constraint columns; and
      • both have same Fact Table; and
      • matching columns of this and other batch has the same value; and
      • non matching columns of this batch have ALL VALUES