|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.store.DataInput
org.apache.lucene.util.PagedBytes.PagedBytesDataInput
public final class PagedBytes.PagedBytesDataInput
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of this stream. |
long |
getPosition()
Returns the current byte position. |
byte |
readByte()
Reads and returns a single byte. |
void |
readBytes(byte[] b,
int offset,
int len)
Reads a specified number of bytes into an array at the specified offset. |
void |
setPosition(long pos)
Seek to a position previously obtained from getPosition(). |
| Methods inherited from class org.apache.lucene.store.DataInput |
|---|
readBytes, readChars, readInt, readLong, readShort, readString, readStringStringMap, readVInt, readVLong, setModifiedUTF8StringsMode |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Object clone()
DataInputClones of a stream access the same data, and are positioned at the same point as the stream they were cloned from.
Expert: Subclasses must ensure that clones may be positioned at different points in the input from each other and from the stream they were cloned from.
clone in class DataInputpublic long getPosition()
public void setPosition(long pos)
getPosition().
public byte readByte()
DataInput
readByte in class DataInputDataOutput.writeByte(byte)
public void readBytes(byte[] b,
int offset,
int len)
DataInput
readBytes in class DataInputb - the array to read bytes intooffset - the offset in the array to start storing byteslen - the number of bytes to readDataOutput.writeBytes(byte[],int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||