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