Class BatchEncoder.Booleans

All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.lucene.util.Accountable, org.elasticsearch.core.Releasable
Enclosing class:
BatchEncoder

protected abstract static class BatchEncoder.Booleans extends BatchEncoder.MVEncoder
  • Constructor Details

    • Booleans

      protected Booleans(int batchSize)
  • Method Details

    • hasCapacity

      protected final boolean hasCapacity(int count)
      Is there capacity for this many booleanss?
    • encode

      protected final void encode(boolean v)
      Encode a boolean and advance to the next position.