Example usage for Java org.apache.lucene.util PagedBytes fields, constructors, methods, implement or subclass
The text is from its open source code.
PagedBytes(int blockBits) 1<<blockBits must be bigger than biggest single BytesRef slice that will be pulled |
void | copy(IndexInput in, long byteCount) Read this many bytes from in |
void | copy(BytesRef bytes, BytesRef out) Copy BytesRef in, setting BytesRef out to the result. |
long | copyUsingLengthPrefix(BytesRef bytes) Copy bytes in, writing the length as a 1 or 2 byte vInt prefix. |
Reader | freeze(boolean trim) Commits final byte[], trimming it if necessary and if trim=true |
long | getPointer() |