Package org.apache.accumulo.core.file
Interface FileSKVWriter
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BloomFilterLayer.Writer,RFile.Writer,SummaryWriter
public interface FileSKVWriter extends AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappend(Key key, Value value)voidclose()DataOutputStreamcreateMetaStore(String name)longgetLength()voidstartDefaultLocalityGroup()voidstartNewLocalityGroup(String name, Set<ByteSequence> columnFamilies)booleansupportsLocalityGroups()
-
-
-
Method Detail
-
supportsLocalityGroups
boolean supportsLocalityGroups()
-
startNewLocalityGroup
void startNewLocalityGroup(String name, Set<ByteSequence> columnFamilies) throws IOException
- Throws:
IOException
-
startDefaultLocalityGroup
void startDefaultLocalityGroup() throws IOException- Throws:
IOException
-
append
void append(Key key, Value value) throws IOException
- Throws:
IOException
-
createMetaStore
DataOutputStream createMetaStore(String name) throws IOException
- Throws:
IOException
-
close
void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
getLength
long getLength() throws IOException- Throws:
IOException
-
-