Java org.apache.lucene.store DataInput fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.store DataInput fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Subclass

org.apache.lucene.store.DataInput has subclasses.
Click this link to see all its subclasses.

Constructor

Method

bytereadByte()
Reads and returns a single byte.
voidreadBytes(byte[] b, int offset, int len)
Reads a specified number of bytes into an array at the specified offset.
voidreadBytes(byte[] b, int offset, int len, boolean useBuffer)
Reads a specified number of bytes into an array at the specified offset with control over whether the read should be buffered (callers who have their own buffer should pass in "false" for useBuffer).
intreadInt()
Reads four bytes and returns an int.
longreadLong()
Reads eight bytes and returns a long.
StringreadString()
Reads a string.
intreadVInt()
Reads an int stored in variable-length format.
longreadVLong()
Reads a long stored in variable-length format.
intreadZInt()
Read a BitUtil#zigZagDecode(int) zig-zag -encoded #readVInt() variable-length integer.
voidskipBytes(final long numBytes)
Skip over numBytes bytes.