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>
public class Expr2ViewItemImpl<T,U> extends AbstractExprViewItem<T> implements Expr2ViewItem<T,U>
-
-
Constructor Summary
Constructors Constructor Description Expr2ViewItemImpl(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BetaIndex<T,U,?>getIndex()Predicate2<T,U>getPredicate()Condition.TypegetType()Variable<U>getVar2()Variable<?>[]getVariables()<V> Expr2ViewItemImpl<T,U>indexedBy(java.lang.Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T,V> leftOperandExtractor, Function1<U,?> rightOperandExtractor)<V> Expr2ViewItemImpl<T,U>indexedBy(java.lang.Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T,V> leftOperandExtractor, Function1<U,?> rightOperandExtractor, java.lang.Class<?> rightReturnType)-
Methods inherited from class org.drools.model.view.AbstractExprViewItem
getExprId, getFirstVariable, getReactivitySpecs, getWatchedProps, isQueryExpression, reactOn, setQueryExpression, watch
-
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.view.ExprViewItem
getExprId, reactOn, watch
-
Methods inherited from interface org.drools.model.view.ViewItem
get, getFirstVariable
-
-
-
-
Method Detail
-
getPredicate
public Predicate2<T,U> getPredicate()
-
getVariables
public Variable<?>[] getVariables()
- Specified by:
getVariablesin interfaceViewItem<T>
-
getType
public Condition.Type getType()
- Specified by:
getTypein interfaceExprViewItem<T>
-
indexedBy
public <V> Expr2ViewItemImpl<T,U> indexedBy(java.lang.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(java.lang.Class<V> indexedClass, Index.ConstraintType constraintType, int indexId, Function1<T,V> leftOperandExtractor, Function1<U,?> rightOperandExtractor, java.lang.Class<?> rightReturnType)
- Specified by:
indexedByin interfaceExpr2ViewItem<T,U>
-
-