Package org.apache.accumulo.core.file
Class BloomFilterLayer.Writer
- java.lang.Object
-
- org.apache.accumulo.core.file.BloomFilterLayer.Writer
-
- All Implemented Interfaces:
AutoCloseable,FileSKVWriter
- Enclosing class:
- BloomFilterLayer
public static class BloomFilterLayer.Writer extends Object implements FileSKVWriter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(Key key, Value val)voidclose()DataOutputStreamcreateMetaStore(String name)longgetLength()voidstartDefaultLocalityGroup()voidstartNewLocalityGroup(String name, Set<ByteSequence> columnFamilies)booleansupportsLocalityGroups()
-
-
-
Method Detail
-
append
public void append(Key key, Value val) throws IOException
- Specified by:
appendin interfaceFileSKVWriter- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceFileSKVWriter- Throws:
IOException
-
createMetaStore
public DataOutputStream createMetaStore(String name) throws IOException
- Specified by:
createMetaStorein interfaceFileSKVWriter- Throws:
IOException
-
startDefaultLocalityGroup
public void startDefaultLocalityGroup() throws IOException- Specified by:
startDefaultLocalityGroupin interfaceFileSKVWriter- Throws:
IOException
-
startNewLocalityGroup
public void startNewLocalityGroup(String name, Set<ByteSequence> columnFamilies) throws IOException
- Specified by:
startNewLocalityGroupin interfaceFileSKVWriter- Throws:
IOException
-
supportsLocalityGroups
public boolean supportsLocalityGroups()
- Specified by:
supportsLocalityGroupsin interfaceFileSKVWriter
-
getLength
public long getLength() throws IOException- Specified by:
getLengthin interfaceFileSKVWriter- Throws:
IOException
-
-