Class AggregatorAdapters

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class AggregatorAdapters
    extends Object
    implements Closeable
    A class that helps query engines use Buffer- or VectorAggregators in a consistent way. The two main benefits this class provides are: (1) Query engines can treat BufferAggregators and VectorAggregators the same for operations that are equivalent across them, like "init", "get", "relocate", and "close". (2) Query engines are freed from the need to manage how much space each individual aggregator needs. They only need to allocate a block of size "spaceNeeded".