public interface ContextQuery extends Serializable
This interface may be used to retrieve a cassandra bound query either from storm config or the tuple being proceed.
Modifier and Type | Interface and Description |
---|---|
static class |
ContextQuery.BoundQueryContext
Default
ContextQuery.BoundQueryContext implementation to retrieve a bound query identified by the provided key. |
static class |
ContextQuery.BoundQueryNamedByFieldContext
Default
ContextQuery.BoundQueryNamedByFieldContext implementation to retrieve a bound query named by the value of a specified tuple field. |
static class |
ContextQuery.StaticContextQuery
Static implementation of
ContextQuery interface. |
Modifier and Type | Method and Description |
---|---|
String |
resolves(Map<String,Object> config,
ITuple tuple)
Resolves a cassandra bound query.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.