Package org.drools.model.view
Class Expr2ViewItemImpl<T,U>
java.lang.Object
org.drools.model.view.AbstractExprViewItem<T>
org.drools.model.view.Expr2ViewItemImpl<T,U>
- All Implemented Interfaces:
RuleItem,RuleItemBuilder<ViewItem<T>>,Expr2ViewItem<T,,U> ExprNViewItem<T>,ExprViewItem<T>,ViewItem<T>,ViewItemBuilder<T>
-
Constructor Summary
ConstructorsConstructorDescriptionExpr2ViewItemImpl(String exprId, Variable<T> var1, Variable<U> var2, Predicate2<T, U> predicate) Expr2ViewItemImpl(Variable<T> var1, Variable<U> var2, Predicate2<T, U> predicate) -
Method Summary
Modifier and TypeMethodDescriptiongetIndex()Predicate2<T,U> getType()getVar2()Variable<?>[]<V> Expr2ViewItemImpl<T,U> indexedBy(Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T, V> leftOperandExtractor, Function1<U, ?> rightOperandExtractor) <V> Expr2ViewItemImpl<T,U> indexedBy(Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T, V> leftOperandExtractor, Function1<U, ?> rightOperandExtractor, Class<?> rightReturnType) 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
-
Expr2ViewItemImpl
-
Expr2ViewItemImpl
-
-
Method Details
-
getPredicate
-
getVar2
-
getVariables
- Specified by:
getVariablesin interfaceViewItem<T>
-
getType
- Specified by:
getTypein interfaceExprViewItem<T>
-
getIndex
-
indexedBy
public <V> Expr2ViewItemImpl<T,U> indexedBy(Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T, V> leftOperandExtractor, Function1<U, ?> rightOperandExtractor) - Specified by:
indexedByin interfaceExpr2ViewItem<T,U>
-
indexedBy
public <V> Expr2ViewItemImpl<T,U> indexedBy(Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T, V> leftOperandExtractor, Function1<U, ?> rightOperandExtractor, Class<?> rightReturnType) - Specified by:
indexedByin interfaceExpr2ViewItem<T,U>
-