| Modifier and Type | Class and Description |
|---|---|
static class |
MongoState.Options |
| Modifier | Constructor and Description |
|---|---|
protected |
MongoState(Map<String,Object> map,
MongoState.Options options) |
| Modifier and Type | Method and Description |
|---|---|
List<List<Values>> |
batchRetrieve(List<TridentTuple> tridentTuples)
Batch retrieve values.
|
void |
beginCommit(Long txid) |
void |
commit(Long txid) |
protected void |
prepare() |
void |
updateState(List<TridentTuple> tuples,
TridentCollector collector)
Update Mongo state.
|
protected MongoState(Map<String,Object> map, MongoState.Options options)
protected void prepare()
public void beginCommit(Long txid)
beginCommit in interface Statepublic void updateState(List<TridentTuple> tuples, TridentCollector collector)
Update Mongo state.
tuples - trident tuplescollector - trident collectorpublic List<List<Values>> batchRetrieve(List<TridentTuple> tridentTuples)
Batch retrieve values.
tridentTuples - trident tuplesCopyright © 2021 The Apache Software Foundation. All rights reserved.