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 void
append(Key key, Value val)
void
close()
DataOutputStream
createMetaStore(String name)
long
getLength()
void
startDefaultLocalityGroup()
void
startNewLocalityGroup(String name, Set<ByteSequence> columnFamilies)
boolean
supportsLocalityGroups()
-
-
-
Method Detail
-
append
public void append(Key key, Value val) throws IOException
- Specified by:
append
in interfaceFileSKVWriter
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceFileSKVWriter
- Throws:
IOException
-
createMetaStore
public DataOutputStream createMetaStore(String name) throws IOException
- Specified by:
createMetaStore
in interfaceFileSKVWriter
- Throws:
IOException
-
startDefaultLocalityGroup
public void startDefaultLocalityGroup() throws IOException
- Specified by:
startDefaultLocalityGroup
in interfaceFileSKVWriter
- Throws:
IOException
-
startNewLocalityGroup
public void startNewLocalityGroup(String name, Set<ByteSequence> columnFamilies) throws IOException
- Specified by:
startNewLocalityGroup
in interfaceFileSKVWriter
- Throws:
IOException
-
supportsLocalityGroups
public boolean supportsLocalityGroups()
- Specified by:
supportsLocalityGroups
in interfaceFileSKVWriter
-
getLength
public long getLength() throws IOException
- Specified by:
getLength
in interfaceFileSKVWriter
- Throws:
IOException
-
-