|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.hook.VirtualDataWindowLookupContext
public class VirtualDataWindowLookupContext
Context passed to VirtualDataWindow
upon obtaining a lookup strategy for use by an EPL statement
that queries the virtual data window.
Represents an analysis of correlation information provided in the where-clause of the querying EPL statement (join, subquery etc.). Hash-fields are always operator-equals semantics. Btree fields require sorted access as the operator is always a range or relational(>, <, >=, <=) operator.
For example, the query "select * from MyVirtualDataWindow, MyTrigger where prop = trigger and prop2 between trigger1 and trigger2" indicates a single hash-field "prop" and a single btree field "prop2" with a range operator.
Constructor Summary | |
---|---|
VirtualDataWindowLookupContext(java.lang.String statementName,
java.lang.String statementId,
java.lang.annotation.Annotation[] statementAnnotations,
boolean fireAndForget,
java.lang.String namedWindowName,
java.util.List<VirtualDataWindowLookupFieldDesc> hashFields,
java.util.List<VirtualDataWindowLookupFieldDesc> btreeFields)
Ctor. |
Method Summary | |
---|---|
java.util.List<VirtualDataWindowLookupFieldDesc> |
getBtreeFields()
Returns the list of btree field descriptors. |
java.util.List<VirtualDataWindowLookupFieldDesc> |
getHashFields()
Returns the list of hash field descriptors. |
java.lang.String |
getNamedWindowName()
Returns the named window name. |
java.lang.annotation.Annotation[] |
getStatementAnnotations()
Returns the statement annotations of the statement to be performing the lookup, or null for fire-and-forget statements. |
java.lang.String |
getStatementId()
Returns the statement id of the statement to be performing the lookup, or null for fire-and-forget statements. |
java.lang.String |
getStatementName()
Returns the statement name of the statement to be performing the lookup, or null for fire-and-forget statements. |
boolean |
isFireAndForget()
Returns true for fire-and-forget queries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirtualDataWindowLookupContext(java.lang.String statementName, java.lang.String statementId, java.lang.annotation.Annotation[] statementAnnotations, boolean fireAndForget, java.lang.String namedWindowName, java.util.List<VirtualDataWindowLookupFieldDesc> hashFields, java.util.List<VirtualDataWindowLookupFieldDesc> btreeFields)
hashFields
- operator-equals semantics fieldsbtreeFields
- sorted-access fields, check the VirtualDataWindowLookupOp
operator for what range or relational-operator appliesnamedWindowName
- named window namestatementName
- the statement name of the statement performing the lookup; Null for fire-and-forget queriesstatementAnnotations
- the statement annotations of the statement performing the lookup; Null for fire-and-forget queriesfireAndForget
- true for fire-and-forget queriesstatementId
- statement idMethod Detail |
---|
public java.lang.String getNamedWindowName()
public java.util.List<VirtualDataWindowLookupFieldDesc> getHashFields()
public java.util.List<VirtualDataWindowLookupFieldDesc> getBtreeFields()
public java.lang.String getStatementName()
public java.lang.String getStatementId()
public java.lang.annotation.Annotation[] getStatementAnnotations()
public boolean isFireAndForget()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |