com.espertech.esper.epl.join.plan
Class QueryPlanIndexItem

java.lang.Object
  extended by 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.
 
Method Summary
 boolean equalsCompareSortedProps(QueryPlanIndexItem other)
           
 java.lang.String[] getIndexProps()
           
 java.lang.Class[] getOptIndexCoercionTypes()
           
 java.lang.Class[] getOptRangeCoercionTypes()
           
 java.lang.String[] getRangeProps()
           
 boolean isUnique()
           
 void setOptIndexCoercionTypes(java.lang.Class[] optIndexCoercionTypes)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 required
unique - whether index is unique on index props (not applicable to range-only)
Method Detail

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)

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com