org.apache.accumulo.core.client.impl
public class TabletServerBatchWriter extends Object
Constructor and Description |
---|
TabletServerBatchWriter(Instance instance,
TCredentials credentials,
BatchWriterConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
addMutation(String table,
Iterator<Mutation> iterator) |
void |
addMutation(String table,
Mutation m) |
void |
close() |
void |
flush() |
void |
updateBinningStats(int count,
long time,
Map<String,TabletLocator.TabletServerMutations> binnedMutations) |
public TabletServerBatchWriter(Instance instance, TCredentials credentials, BatchWriterConfig config)
public void addMutation(String table, Mutation m) throws MutationsRejectedException
MutationsRejectedException
public void addMutation(String table, Iterator<Mutation> iterator) throws MutationsRejectedException
MutationsRejectedException
public void flush() throws MutationsRejectedException
MutationsRejectedException
public void close() throws MutationsRejectedException
MutationsRejectedException
public void updateBinningStats(int count, long time, Map<String,TabletLocator.TabletServerMutations> binnedMutations)
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.