org.apache.storm.mongodb.trident.state

## Class MongoStateQuery

- java.lang.Object
- - org.apache.storm.trident.operation.BaseOperation
  - - org.apache.storm.trident.state.BaseQueryFunction<MongoState,List<Values>>
    - - org.apache.storm.mongodb.trident.state.MongoStateQuery

- All Implemented Interfaces:
    Serializable, EachOperation, Operation, QueryFunction<MongoState,List<Values>>

      public class MongoStateQuery
      extends BaseQueryFunction<MongoState,List<Values>>

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MongoStateQuery()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<List<Values>>` | `batchRetrieve(MongoState mongoState, List<TridentTuple> tridentTuples)`
    `void` | `execute(TridentTuple tuples, List<Values> values, TridentCollector tridentCollector)`

    - ### Methods inherited from class org.apache.storm.trident.operation.BaseOperation

      `cleanup, prepare`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.storm.trident.operation.Operation

      `cleanup, prepare`

- - ### Constructor Detail

    - #### MongoStateQuery

          public MongoStateQuery()

  - ### Method Detail

    - #### batchRetrieve

          public List<List<Values>> batchRetrieve(MongoState mongoState,
                                                  List<TridentTuple> tridentTuples)

    - #### execute

          public void execute(TridentTuple tuples,
                              List<Values> values,
                              TridentCollector tridentCollector)

Copyright © 2021 The Apache Software Foundation. All rights reserved.