org.apache.blur.store.blockcache_v2
Class CacheIndexInput
java.lang.Object
org.apache.lucene.store.DataInput
org.apache.lucene.store.IndexInput
org.apache.blur.store.blockcache_v2.CacheIndexInput
- All Implemented Interfaces:
- Closeable, Cloneable
public class CacheIndexInput
- extends org.apache.lucene.store.IndexInput
Methods inherited from class org.apache.lucene.store.IndexInput |
toString |
Methods inherited from class org.apache.lucene.store.DataInput |
readBytes, readString, readStringSet, readStringStringMap |
CacheIndexInput
public CacheIndexInput(CacheDirectory directory,
String fileName,
org.apache.lucene.store.IndexInput indexInput,
Cache cache)
throws IOException
- Throws:
IOException
readVInt
public int readVInt()
throws IOException
- Overrides:
readVInt
in class org.apache.lucene.store.DataInput
- Throws:
IOException
readVLong
public long readVLong()
throws IOException
- Overrides:
readVLong
in class org.apache.lucene.store.DataInput
- Throws:
IOException
readByte
public byte readByte()
throws IOException
- Specified by:
readByte
in class org.apache.lucene.store.DataInput
- Throws:
IOException
readBytes
public void readBytes(byte[] b,
int offset,
int len)
throws IOException
- Specified by:
readBytes
in class org.apache.lucene.store.DataInput
- Throws:
IOException
readShort
public short readShort()
throws IOException
- Overrides:
readShort
in class org.apache.lucene.store.DataInput
- Throws:
IOException
readInt
public int readInt()
throws IOException
- Overrides:
readInt
in class org.apache.lucene.store.DataInput
- Throws:
IOException
readLong
public long readLong()
throws IOException
- Overrides:
readLong
in class org.apache.lucene.store.DataInput
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class org.apache.lucene.store.IndexInput
- Throws:
IOException
getFilePointer
public long getFilePointer()
- Specified by:
getFilePointer
in class org.apache.lucene.store.IndexInput
seek
public void seek(long pos)
throws IOException
- Specified by:
seek
in class org.apache.lucene.store.IndexInput
- Throws:
IOException
length
public long length()
- Specified by:
length
in class org.apache.lucene.store.IndexInput
clone
public org.apache.lucene.store.IndexInput clone()
- Overrides:
clone
in class org.apache.lucene.store.IndexInput
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.