Java org.apache.lucene.util PagedBytes fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.util PagedBytes fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.util PagedBytes.

The text is from its open source code.

Constructor

PagedBytes(int blockBits)
1<<blockBits must be bigger than biggest single BytesRef slice that will be pulled

Method

voidcopy(IndexInput in, long byteCount)
Read this many bytes from in
voidcopy(BytesRef bytes, BytesRef out)
Copy BytesRef in, setting BytesRef out to the result.
longcopyUsingLengthPrefix(BytesRef bytes)
Copy bytes in, writing the length as a 1 or 2 byte vInt prefix.
Readerfreeze(boolean trim)
Commits final byte[], trimming it if necessary and if trim=true
longgetPointer()