Package org.elasticsearch.index.mapper
Class TestBlock
java.lang.Object
org.elasticsearch.index.mapper.TestBlock
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.elasticsearch.core.Releasable
,BlockLoader.Block
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static final BlockLoader.Docs
docs
(int... docs) static final BlockLoader.Docs
docs
(org.apache.lucene.index.LeafReaderContext ctx) static BlockLoader.BlockFactory
factory
(int pageSize) get
(int i) int
size()
-
Method Details
-
factory
-
docs
-
docs
-
get
-
size
public int size() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-