com.espertech.esper.epl.join.plan
Class QueryPlanIndexItem
java.lang.Object
com.espertech.esper.epl.join.plan.QueryPlanIndexItem
public class QueryPlanIndexItem
- extends java.lang.Object
Specifies an index to build as part of an overall query plan.
Constructor Summary |
QueryPlanIndexItem(java.lang.String[] indexProps,
java.lang.Class[] optIndexCoercionTypes,
java.lang.String[] rangeProps,
java.lang.Class[] optRangeCoercionTypes,
boolean unique)
Ctor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryPlanIndexItem
public QueryPlanIndexItem(java.lang.String[] indexProps,
java.lang.Class[] optIndexCoercionTypes,
java.lang.String[] rangeProps,
java.lang.Class[] optRangeCoercionTypes,
boolean unique)
- Ctor.
- Parameters:
indexProps
- - array of property names with the first dimension suplying the number of
distinct indexes. The second dimension can be empty and indicates a full table scan.optIndexCoercionTypes
- - array of coercion types for each index, or null entry for no coercion requiredunique
- whether index is unique on index props (not applicable to range-only)
getIndexProps
public java.lang.String[] getIndexProps()
getOptIndexCoercionTypes
public java.lang.Class[] getOptIndexCoercionTypes()
getRangeProps
public java.lang.String[] getRangeProps()
getOptRangeCoercionTypes
public java.lang.Class[] getOptRangeCoercionTypes()
setOptIndexCoercionTypes
public void setOptIndexCoercionTypes(java.lang.Class[] optIndexCoercionTypes)
isUnique
public boolean isUnique()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equalsCompareSortedProps
public boolean equalsCompareSortedProps(QueryPlanIndexItem other)