org.apache.accumulo.core.file.rfile
Class RFile.Writer

java.lang.Object
  extended by org.apache.accumulo.core.file.rfile.RFile.Writer
All Implemented Interfaces:
FileSKVWriter
Enclosing class:
RFile

public static class RFile.Writer
extends java.lang.Object
implements FileSKVWriter


Field Summary
static int MAX_CF_IN_DLG
           
 
Constructor Summary
RFile.Writer(BlockFileWriter bfw, int blockSize)
           
 
Method Summary
 void append(Key key, Value value)
           
 void close()
           
 java.io.DataOutputStream createMetaStore(java.lang.String name)
           
 void startDefaultLocalityGroup()
           
 void startNewLocalityGroup(java.lang.String name, java.util.Set<ByteSequence> columnFamilies)
           
 boolean supportsLocalityGroups()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_CF_IN_DLG

public static final int MAX_CF_IN_DLG
See Also:
Constant Field Values
Constructor Detail

RFile.Writer

public RFile.Writer(BlockFileWriter bfw,
                    int blockSize)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in interface FileSKVWriter
Throws:
java.io.IOException

append

public void append(Key key,
                   Value value)
            throws java.io.IOException
Specified by:
append in interface FileSKVWriter
Throws:
java.io.IOException

createMetaStore

public java.io.DataOutputStream createMetaStore(java.lang.String name)
                                         throws java.io.IOException
Specified by:
createMetaStore in interface FileSKVWriter
Throws:
java.io.IOException

startNewLocalityGroup

public void startNewLocalityGroup(java.lang.String name,
                                  java.util.Set<ByteSequence> columnFamilies)
                           throws java.io.IOException
Specified by:
startNewLocalityGroup in interface FileSKVWriter
Throws:
java.io.IOException

startDefaultLocalityGroup

public void startDefaultLocalityGroup()
                               throws java.io.IOException
Specified by:
startDefaultLocalityGroup in interface FileSKVWriter
Throws:
java.io.IOException

supportsLocalityGroups

public boolean supportsLocalityGroups()
Specified by:
supportsLocalityGroups in interface FileSKVWriter


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.