org.apache.accumulo.core.file.rfile
Class RFile.Writer
java.lang.Object
org.apache.accumulo.core.file.rfile.RFile.Writer
- All Implemented Interfaces:
- FileSKVWriter
- Enclosing class:
- RFile
public static class RFile.Writer
- extends Object
- implements FileSKVWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_CF_IN_DLG
public static final int MAX_CF_IN_DLG
- See Also:
- Constant Field Values
RFile.Writer
public RFile.Writer(BlockFileWriter bfw,
int blockSize)
throws IOException
- Throws:
IOException
RFile.Writer
public RFile.Writer(BlockFileWriter bfw,
int blockSize,
int indexBlockSize)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface FileSKVWriter
- Throws:
IOException
append
public void append(Key key,
Value value)
throws IOException
- Specified by:
append
in interface FileSKVWriter
- Throws:
IOException
createMetaStore
public DataOutputStream createMetaStore(String name)
throws IOException
- Specified by:
createMetaStore
in interface FileSKVWriter
- Throws:
IOException
startNewLocalityGroup
public void startNewLocalityGroup(String name,
Set<ByteSequence> columnFamilies)
throws IOException
- Specified by:
startNewLocalityGroup
in interface FileSKVWriter
- Throws:
IOException
startDefaultLocalityGroup
public void startDefaultLocalityGroup()
throws IOException
- Specified by:
startDefaultLocalityGroup
in interface FileSKVWriter
- Throws:
IOException
supportsLocalityGroups
public boolean supportsLocalityGroups()
- Specified by:
supportsLocalityGroups
in interface FileSKVWriter
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.