Class TabletServerBatchWriter
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.TabletServerBatchWriter
-
public class TabletServerBatchWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description TabletServerBatchWriter(ClientContext context, BatchWriterConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMutation(TableId table, Iterator<Mutation> iterator)
void
addMutation(TableId table, Mutation m)
void
close()
void
flush()
void
updateBinningStats(int count, long time, Map<String,TabletLocator.TabletServerMutations<Mutation>> binnedMutations)
-
-
-
Constructor Detail
-
TabletServerBatchWriter
public TabletServerBatchWriter(ClientContext context, BatchWriterConfig config)
-
-
Method Detail
-
addMutation
public void addMutation(TableId table, Mutation m) throws MutationsRejectedException
- Throws:
MutationsRejectedException
-
addMutation
public void addMutation(TableId table, Iterator<Mutation> iterator) throws MutationsRejectedException
- Throws:
MutationsRejectedException
-
flush
public void flush() throws MutationsRejectedException
- Throws:
MutationsRejectedException
-
close
public void close() throws MutationsRejectedException
- Throws:
MutationsRejectedException
-
updateBinningStats
public void updateBinningStats(int count, long time, Map<String,TabletLocator.TabletServerMutations<Mutation>> binnedMutations)
-
-