public class ByteArrayIndexInput
extends org.apache.lucene.store.IndexInput
| Constructor and Description |
|---|
ByteArrayIndexInput(String resourceDesc,
byte[] bytes) |
ByteArrayIndexInput(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(String sliceDescription,
long offset,
long length) |
clone, getFullSliceDescription, randomAccessSlice, toStringpublic ByteArrayIndexInput(String resourceDesc, byte[] bytes)
public ByteArrayIndexInput(String resourceDesc, byte[] bytes, int offset, int length)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.store.IndexInputIOExceptionpublic long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexInputpublic void seek(long l)
throws IOException
seek in class org.apache.lucene.store.IndexInputIOExceptionpublic long length()
length in class org.apache.lucene.store.IndexInputpublic org.apache.lucene.store.IndexInput slice(String sliceDescription, long offset, long length) throws IOException
slice in class org.apache.lucene.store.IndexInputIOExceptionpublic byte readByte()
throws IOException
readByte in class org.apache.lucene.store.DataInputIOExceptionpublic void readBytes(byte[] b,
int offset,
int len)
throws IOException
readBytes in class org.apache.lucene.store.DataInputIOExceptionCopyright © 2009–2017. All rights reserved.