Package org.drools.model.index
Class AbstractIndex<A,V>
- java.lang.Object
-
- org.drools.model.index.AbstractIndex<A,V>
-
- All Implemented Interfaces:
Index<A,V>
- Direct Known Subclasses:
AbstractBetaIndex,AlphaIndexImpl
public abstract class AbstractIndex<A,V> extends java.lang.Object implements Index<A,V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.model.Index
Index.ConstraintType, Index.IndexType
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractIndex(java.lang.Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<A,V> leftOperandExtractor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Index.ConstraintTypegetConstraintType()java.lang.Class<V>getIndexedClass()intgetIndexId()Function1<A,V>getLeftOperandExtractor()Index<A,V>negate()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.model.Index
getIndexType
-
-
-
-
Constructor Detail
-
AbstractIndex
protected AbstractIndex(java.lang.Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<A,V> leftOperandExtractor)
-
-
Method Detail
-
getIndexedClass
public java.lang.Class<V> getIndexedClass()
- Specified by:
getIndexedClassin interfaceIndex<A,V>
-
getConstraintType
public Index.ConstraintType getConstraintType()
- Specified by:
getConstraintTypein interfaceIndex<A,V>
-
getIndexId
public int getIndexId()
- Specified by:
getIndexIdin interfaceIndex<A,V>
-
getLeftOperandExtractor
public Function1<A,V> getLeftOperandExtractor()
- Specified by:
getLeftOperandExtractorin interfaceIndex<A,V>
-
-