public class QueryPlanIndexItem
extends java.lang.Object
Constructor and Description |
---|
QueryPlanIndexItem(java.util.List<IndexedPropDesc> hashProps,
java.util.List<IndexedPropDesc> btreeProps,
boolean unique,
EventAdvancedIndexProvisionDesc advancedIndexProvisionDesc) |
QueryPlanIndexItem(java.lang.String[] indexProps,
java.lang.Class[] optIndexCoercionTypes,
java.lang.String[] rangeProps,
java.lang.Class[] optRangeCoercionTypes,
boolean unique,
EventAdvancedIndexProvisionDesc advancedIndexProvisionDesc)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equalsCompareSortedProps(QueryPlanIndexItem other) |
static QueryPlanIndexItem |
fromIndexMultikeyTablePrimaryKey(IndexMultiKey indexMultiKey) |
EventAdvancedIndexProvisionDesc |
getAdvancedIndexProvisionDesc() |
java.util.List<IndexedPropDesc> |
getBtreePropsAsList() |
java.util.List<IndexedPropDesc> |
getHashPropsAsList() |
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() |
public QueryPlanIndexItem(java.lang.String[] indexProps, java.lang.Class[] optIndexCoercionTypes, java.lang.String[] rangeProps, java.lang.Class[] optRangeCoercionTypes, boolean unique, EventAdvancedIndexProvisionDesc advancedIndexProvisionDesc)
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 requiredrangeProps
- range propsoptRangeCoercionTypes
- coercion for rangesunique
- whether index is unique on index props (not applicable to range-only)advancedIndexProvisionDesc
- advanced indexespublic QueryPlanIndexItem(java.util.List<IndexedPropDesc> hashProps, java.util.List<IndexedPropDesc> btreeProps, boolean unique, EventAdvancedIndexProvisionDesc advancedIndexProvisionDesc)
public java.lang.String[] getIndexProps()
public java.lang.Class[] getOptIndexCoercionTypes()
public java.lang.String[] getRangeProps()
public java.lang.Class[] getOptRangeCoercionTypes()
public void setOptIndexCoercionTypes(java.lang.Class[] optIndexCoercionTypes)
public boolean isUnique()
public EventAdvancedIndexProvisionDesc getAdvancedIndexProvisionDesc()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equalsCompareSortedProps(QueryPlanIndexItem other)
public java.util.List<IndexedPropDesc> getHashPropsAsList()
public java.util.List<IndexedPropDesc> getBtreePropsAsList()
public static QueryPlanIndexItem fromIndexMultikeyTablePrimaryKey(IndexMultiKey indexMultiKey)