org.apache.blur.store.hdfs_v2
Interface Store

All Superinterfaces:
Closeable
All Known Implementing Classes:
HdfsKeyValueStore

public interface Store
extends Closeable


Method Summary
 void close()
           
 void delete(org.apache.lucene.util.BytesRef key)
           
 boolean get(org.apache.lucene.util.BytesRef key, org.apache.lucene.util.BytesRef value)
           
 void put(org.apache.lucene.util.BytesRef key, org.apache.lucene.util.BytesRef value)
           
 Iterable<Map.Entry<org.apache.lucene.util.BytesRef,org.apache.lucene.util.BytesRef>> scan(org.apache.lucene.util.BytesRef key)
           
 void sync()
           
 

Method Detail

sync

void sync()
          throws IOException
Throws:
IOException

scan

Iterable<Map.Entry<org.apache.lucene.util.BytesRef,org.apache.lucene.util.BytesRef>> scan(org.apache.lucene.util.BytesRef key)
                                                                                          throws IOException
Throws:
IOException

put

void put(org.apache.lucene.util.BytesRef key,
         org.apache.lucene.util.BytesRef value)
         throws IOException
Throws:
IOException

get

boolean get(org.apache.lucene.util.BytesRef key,
            org.apache.lucene.util.BytesRef value)
            throws IOException
Throws:
IOException

delete

void delete(org.apache.lucene.util.BytesRef key)
            throws IOException
Throws:
IOException

close

void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.