public class SummaryWriter extends Object implements FileSKVWriter
Modifier and Type | Method and 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() |
static FileSKVWriter |
wrap(FileSKVWriter writer,
AccumuloConfiguration tableConfig,
boolean useAccumuloStart) |
void |
writeConfig(SummarizerConfiguration conf,
DataOutputStream dos) |
public boolean supportsLocalityGroups()
supportsLocalityGroups
in interface FileSKVWriter
public void startNewLocalityGroup(String name, Set<ByteSequence> columnFamilies) throws IOException
startNewLocalityGroup
in interface FileSKVWriter
IOException
public void startDefaultLocalityGroup() throws IOException
startDefaultLocalityGroup
in interface FileSKVWriter
IOException
public void append(Key key, Value value) throws IOException
append
in interface FileSKVWriter
IOException
public DataOutputStream createMetaStore(String name) throws IOException
createMetaStore
in interface FileSKVWriter
IOException
public void writeConfig(SummarizerConfiguration conf, DataOutputStream dos) throws IOException
IOException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface FileSKVWriter
IOException
public long getLength() throws IOException
getLength
in interface FileSKVWriter
IOException
public static FileSKVWriter wrap(FileSKVWriter writer, AccumuloConfiguration tableConfig, boolean useAccumuloStart)
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.