Class TestBlock

java.lang.Object
org.elasticsearch.index.mapper.TestBlock
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.core.Releasable, BlockLoader.Block

public class TestBlock extends Object implements BlockLoader.Block
  • Method Details

    • factory

      public static BlockLoader.BlockFactory factory(int pageSize)
    • docs

      public static final BlockLoader.Docs docs(int... docs)
    • docs

      public static final BlockLoader.Docs docs(org.apache.lucene.index.LeafReaderContext ctx)
    • get

      public Object get(int i)
    • size

      public int size()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable