Module org.elasticsearch.server
Interface DocOffsetsCodec.Decoder
- Enclosing class:
DocOffsetsCodec
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A decoder to decode the format on disk to doc offsets.
A decoder performs the operations that an encoder performs in reverse order.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(int[] docOffsets, int numDocsInBlock, org.apache.lucene.store.DataInput input) Decodes the format on disk to doc offsets.
-
Method Details
-
decode
void decode(int[] docOffsets, int numDocsInBlock, org.apache.lucene.store.DataInput input) throws IOException Decodes the format on disk to doc offsets.- Parameters:
docOffsets- the array to store decoded document offsetsnumDocsInBlock- the number of documents in the block to be decodedinput- the input source containing encoded data to be decoded- Throws:
IOException- if an I/O error occurs during decoding
-