Package org.drools.base.util.index
Class IndexUtil
java.lang.Object
org.drools.base.util.index.IndexUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanHaveRangeIndex(int nodeType, IndexableConstraint constraint, KieBaseConfiguration config) static booleancompositeAllowed(BetaConstraint[] constraints, int betaNodeType, KieBaseConfiguration config) static booleanisBigDecimalEqualityConstraint(IndexableConstraint indexableConstraint) static booleanisEqualIndexable(BetaConstraint constraint) static booleanisIndexable(BetaConstraint constraint, int nodeType, KieBaseConfiguration config) static booleanisIndexableForNode(int nodeType, BetaConstraint constraint, KieBaseConfiguration config) static boolean[]isIndexableForNode(IndexPrecedenceOption indexPrecedenceOption, int nodeType, int keyDepth, BetaConstraint[] constraints, KieBaseConfiguration config)
-
Constructor Details
-
IndexUtil
public IndexUtil()
-
-
Method Details
-
compositeAllowed
public static boolean compositeAllowed(BetaConstraint[] constraints, int betaNodeType, KieBaseConfiguration config) -
isIndexable
public static boolean isIndexable(BetaConstraint constraint, int nodeType, KieBaseConfiguration config) -
canHaveRangeIndex
public static boolean canHaveRangeIndex(int nodeType, IndexableConstraint constraint, KieBaseConfiguration config) -
isIndexableForNode
public static boolean isIndexableForNode(int nodeType, BetaConstraint constraint, KieBaseConfiguration config) -
isBigDecimalEqualityConstraint
-
isIndexableForNode
public static boolean[] isIndexableForNode(IndexPrecedenceOption indexPrecedenceOption, int nodeType, int keyDepth, BetaConstraint[] constraints, KieBaseConfiguration config) -
isEqualIndexable
-