Package org.drools.model.view
Class Expr1ViewItemImpl<T>
java.lang.Object
org.drools.model.view.AbstractExprViewItem<T>
org.drools.model.view.Expr1ViewItemImpl<T>
- All Implemented Interfaces:
RuleItem,RuleItemBuilder<ViewItem<T>>,Expr1ViewItem<T>,ExprNViewItem<T>,ExprViewItem<T>,ViewItem<T>,ViewItemBuilder<T>
-
Constructor Summary
ConstructorsConstructorDescriptionExpr1ViewItemImpl(String exprId, Variable<T> var, Predicate1<T> predicate) Expr1ViewItemImpl(Variable<T> var, Predicate1<T> predicate) -
Method Summary
Modifier and TypeMethodDescriptionAlphaIndex<T,?> getIndex()getType()Variable<?>[]<U> Expr1ViewItemImpl<T>indexedBy(Class<U> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T, U> leftOperandExtractor, U rightValue) Methods inherited from class org.drools.model.view.AbstractExprViewItem
getExprId, getFirstVariable, getReactivitySpecs, getWatchedProps, isQueryExpression, reactOn, setQueryExpression, watchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.model.view.ExprViewItem
getExprId, reactOn, watchMethods inherited from interface org.drools.model.view.ViewItem
get, getFirstVariable
-
Constructor Details
-
Expr1ViewItemImpl
-
Expr1ViewItemImpl
-
-
Method Details
-
getVariables
- Specified by:
getVariablesin interfaceViewItem<T>
-
getPredicate
-
getType
- Specified by:
getTypein interfaceExprViewItem<T>
-
getIndex
-
indexedBy
public <U> Expr1ViewItemImpl<T> indexedBy(Class<U> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T, U> leftOperandExtractor, U rightValue) - Specified by:
indexedByin interfaceExpr1ViewItem<T>
-