org.apache.accumulo.core.client.impl
public class TabletServerBatchWriter extends Object
Constructor and Description |
---|
TabletServerBatchWriter(Instance instance,
Credentials 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<Mutation>> binnedMutations) |
public TabletServerBatchWriter(Instance instance, Credentials 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<Mutation>> binnedMutations)
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.