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, toString
public ByteArrayIndexInput(String resourceDesc, byte[] bytes)
public ByteArrayIndexInput(String resourceDesc, byte[] bytes, int offset, int length)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.lucene.store.IndexInput
IOException
public long getFilePointer()
getFilePointer
in class org.apache.lucene.store.IndexInput
public void seek(long l) throws IOException
seek
in class org.apache.lucene.store.IndexInput
IOException
public long length()
length
in class org.apache.lucene.store.IndexInput
public org.apache.lucene.store.IndexInput slice(String sliceDescription, long offset, long length) throws IOException
slice
in class org.apache.lucene.store.IndexInput
IOException
public byte readByte() throws IOException
readByte
in class org.apache.lucene.store.DataInput
IOException
public void readBytes(byte[] b, int offset, int len) throws IOException
readBytes
in class org.apache.lucene.store.DataInput
IOException
Copyright © 2009–2017. All rights reserved.