org.apache.blur.store.hdfs_v2
Class FastHdfsKeyValueIndexInput

java.lang.Object
  extended by org.apache.lucene.store.DataInput
      extended by org.apache.lucene.store.IndexInput
          extended by org.apache.blur.store.hdfs_v2.FastHdfsKeyValueIndexInput
All Implemented Interfaces:
Closeable, Cloneable

public class FastHdfsKeyValueIndexInput
extends org.apache.lucene.store.IndexInput


Constructor Summary
FastHdfsKeyValueIndexInput(String name, long length, int blockSize, FastHdfsKeyValueDirectory dir)
           
 
Method Summary
 org.apache.lucene.store.IndexInput clone()
           
 void close()
           
 long getFilePointer()
           
 long length()
           
 byte readByte()
           
 void readBytes(byte[] b, int offset, int length)
           
 void seek(long pos)
           
 
Methods inherited from class org.apache.lucene.store.IndexInput
toString
 
Methods inherited from class org.apache.lucene.store.DataInput
readBytes, readInt, readLong, readShort, readString, readStringSet, readStringStringMap, readVInt, readVLong
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FastHdfsKeyValueIndexInput

public FastHdfsKeyValueIndexInput(String name,
                                  long length,
                                  int blockSize,
                                  FastHdfsKeyValueDirectory dir)
Method Detail

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

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 length)
               throws IOException
Specified by:
readBytes in class org.apache.lucene.store.DataInput
Throws:
IOException

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.