public class ByteArrayIndexInput
extends org.apache.lucene.store.IndexInput
| Constructor and Description |
|---|
ByteArrayIndexInput(java.lang.String resourceDesc,
byte[] bytes) |
ByteArrayIndexInput(java.lang.String resourceDesc,
byte[] bytes,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getFilePointer() |
long |
length() |
byte |
readByte() |
void |
readBytes(byte[] b,
int offset,
int len) |
void |
seek(long l) |
org.apache.lucene.store.IndexInput |
slice(java.lang.String sliceDescription,
long offset,
long length) |
clone, getFullSliceDescription, randomAccessSlice, toStringpublic ByteArrayIndexInput(java.lang.String resourceDesc,
byte[] bytes)
public ByteArrayIndexInput(java.lang.String resourceDesc,
byte[] bytes,
int offset,
int length)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexInputpublic void seek(long l)
throws java.io.IOException
seek in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic long length()
length in class org.apache.lucene.store.IndexInputpublic org.apache.lucene.store.IndexInput slice(java.lang.String sliceDescription,
long offset,
long length)
throws java.io.IOException
slice in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic byte readByte()
throws java.io.IOException
readByte in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic void readBytes(byte[] b,
int offset,
int len)
throws java.io.IOException
readBytes in class org.apache.lucene.store.DataInputjava.io.IOException