public class TabletServerBatchWriter extends Object
Constructor and Description |
---|
TabletServerBatchWriter(ClientContext context,
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(ClientContext context, 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–2018 The Apache Software Foundation. All rights reserved.