org.apache.storm.trident.state

## Interface QueryFunction<S extends State,T>

- All Superinterfaces:
    EachOperation, Operation, Serializable
  All Known Implementing Classes:
    AbstractRedisStateQuerier, BaseQueryFunction, CassandraQuery, HBaseQuery, JdbcQuery, MapGet, MongoStateQuery, RedisClusterStateQuerier, RedisStateQuerier, SnapshotGet, TupleCollectionGet

      public interface QueryFunction<S extends State,T>
      extends EachOperation

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<T>` | `batchRetrieve(S state, List<TridentTuple> args)`
    `void` | `execute(TridentTuple tuple, T result, TridentCollector collector)`

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

      `cleanup, prepare`

- - ### Method Detail

    - #### batchRetrieve

          List<T> batchRetrieve(S state,
                                List<TridentTuple> args)

    - #### execute

          void execute(TridentTuple tuple,
                       T result,
                       TridentCollector collector)

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