|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BatchWriter
Send Mutations to a single Table in Accumulo.
Method Summary | |
---|---|
void |
addMutation(Mutation m)
Queues one mutation to write |
void |
addMutations(java.lang.Iterable<Mutation> iterable)
Queues several mutations to write |
void |
close()
Flush and release any resources. |
void |
flush()
Send any buffered mutations to Accumulo immediately. |
Method Detail |
---|
void addMutation(Mutation m) throws MutationsRejectedException
m
- the mutation to add
MutationsRejectedException
- this could be thrown because current or previous mutations failedvoid addMutations(java.lang.Iterable<Mutation> iterable) throws MutationsRejectedException
iterable
- allows adding any number of mutations iteratively
MutationsRejectedException
- this could be thrown because current or previous mutations failedvoid flush() throws MutationsRejectedException
MutationsRejectedException
- this could be thrown because current or previous mutations failedvoid close() throws MutationsRejectedException
MutationsRejectedException
- this could be thrown because current or previous mutations failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |