org.apache.storm.cassandra.query

## Class ContextQuery.BoundQueryContext

- java.lang.Object
- - org.apache.storm.cassandra.query.ContextQuery.BoundQueryContext

- All Implemented Interfaces:
    Serializable, ContextQuery
  Enclosing interface:
    ContextQuery

      public static final class ContextQuery.BoundQueryContext
      extends Object
      implements ContextQuery

  Default `ContextQuery.BoundQueryContext` implementation to retrieve a bound query identified by the provided key.

  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.storm.cassandra.query.ContextQuery

      `ContextQuery.BoundQueryContext, ContextQuery.BoundQueryNamedByFieldContext, ContextQuery.StaticContextQuery`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BoundQueryContext(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `resolves(Map<String,Object> config, ITuple tuple)` Resolves a cassandra bound query.

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

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

- - ### Constructor Detail

    - #### BoundQueryContext

          public BoundQueryContext(String key)

  - ### Method Detail

    - #### resolves

          public String resolves(Map<String,Object> config,
                                 ITuple tuple)

      Description copied from interface: `ContextQuery`

      Resolves a cassandra bound query.

      Specified by:
        `resolves` in interface `ContextQuery`
      Parameters:
        `config` - the storm configuration
        `tuple` - the tuple being proceed.
      Returns:
        a string bound query.

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