public class QueryPlanIndexItem extends Object
Constructor and Description |
---|
QueryPlanIndexItem(List<IndexedPropDesc> hashProps,
List<IndexedPropDesc> btreeProps,
boolean unique,
EventAdvancedIndexProvisionDesc advancedIndexProvisionDesc) |
QueryPlanIndexItem(String[] indexProps,
Class[] optIndexCoercionTypes,
String[] rangeProps,
Class[] optRangeCoercionTypes,
boolean unique,
EventAdvancedIndexProvisionDesc advancedIndexProvisionDesc)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equalsCompareSortedProps(QueryPlanIndexItem other) |
static QueryPlanIndexItem |
fromIndexMultikeyTablePrimaryKey(IndexMultiKey indexMultiKey) |
EventAdvancedIndexProvisionDesc |
getAdvancedIndexProvisionDesc() |
List<IndexedPropDesc> |
getBtreePropsAsList() |
List<IndexedPropDesc> |
getHashPropsAsList() |
String[] |
getIndexProps() |
Class[] |
getOptIndexCoercionTypes() |
Class[] |
getOptRangeCoercionTypes() |
String[] |
getRangeProps() |
boolean |
isUnique() |
void |
setOptIndexCoercionTypes(Class[] optIndexCoercionTypes) |
String |
toString() |
public QueryPlanIndexItem(String[] indexProps, Class[] optIndexCoercionTypes, String[] rangeProps, 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(List<IndexedPropDesc> hashProps, List<IndexedPropDesc> btreeProps, boolean unique, EventAdvancedIndexProvisionDesc advancedIndexProvisionDesc)
public String[] getIndexProps()
public Class[] getOptIndexCoercionTypes()
public String[] getRangeProps()
public Class[] getOptRangeCoercionTypes()
public void setOptIndexCoercionTypes(Class[] optIndexCoercionTypes)
public boolean isUnique()
public EventAdvancedIndexProvisionDesc getAdvancedIndexProvisionDesc()
public boolean equalsCompareSortedProps(QueryPlanIndexItem other)
public List<IndexedPropDesc> getHashPropsAsList()
public List<IndexedPropDesc> getBtreePropsAsList()
public static QueryPlanIndexItem fromIndexMultikeyTablePrimaryKey(IndexMultiKey indexMultiKey)