public interface ConditionalWriter extends AutoCloseable
Modifier and Type | Interface and Description |
---|---|
static class |
ConditionalWriter.Result |
static class |
ConditionalWriter.Status |
Modifier and Type | Method and Description |
---|---|
void |
close()
release any resources (like threads pools) used by conditional writer
|
ConditionalWriter.Result |
write(ConditionalMutation mutation)
This method has the same thread safety guarantees as @link
write(Iterator) |
Iterator<ConditionalWriter.Result> |
write(Iterator<ConditionalMutation> mutations)
This method returns one result for each mutation passed to it.
|
Iterator<ConditionalWriter.Result> write(Iterator<ConditionalMutation> mutations)
ConditionalWriter.Result write(ConditionalMutation mutation)
write(Iterator)
void close()
close
in interface AutoCloseable
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.