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
MutationsRejectedExceptionpublic void addMutation(String table, Iterator<Mutation> iterator) throws MutationsRejectedException
MutationsRejectedExceptionpublic void flush()
throws MutationsRejectedException
MutationsRejectedExceptionpublic void close()
throws MutationsRejectedException
MutationsRejectedExceptionpublic void updateBinningStats(int count,
long time,
Map<String,TabletLocator.TabletServerMutations<Mutation>> binnedMutations)
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.