org.apache.accumulo.core.client.impl
Class TabletServerBatchWriter
java.lang.Object
org.apache.accumulo.core.client.impl.TabletServerBatchWriter
public class TabletServerBatchWriter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabletServerBatchWriter
public TabletServerBatchWriter(Instance instance,
AuthInfo credentials,
long maxMemory,
long maxLatency,
int numSendThreads)
addMutation
public void addMutation(String table,
Mutation m)
throws MutationsRejectedException
- Throws:
MutationsRejectedException
addMutation
public void addMutation(String 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> binnedMutations)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.