Interface Pattern1Def<A>
-
- All Superinterfaces:
PatternDef
- All Known Implementing Classes:
AccumulatePattern1,Pattern1DefImpl
public interface Pattern1Def<A> extends PatternDef
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <B,C>
Pattern2Def<A,C>accumulate(org.drools.model.functions.Function1<Pattern1Def<A>,PatternDef> patternBuilder, Accumulator1<B,C> acc)<G> voidexecute(G globalObject, org.drools.model.functions.Block1<G> block)<G> voidexecute(G globalObject, org.drools.model.functions.Block2<G,A> block)voidexecute(org.drools.model.functions.Block1<A> block)<T> voidexecuteOnDataStore(org.drools.ruleunits.api.DataStore<T> dataStore, org.drools.model.functions.Block1<org.drools.ruleunits.impl.datasources.ConsequenceDataStore<T>> block)<T> voidexecuteOnDataStore(org.drools.ruleunits.api.DataStore<T> dataStore, org.drools.model.functions.Block2<org.drools.ruleunits.impl.datasources.ConsequenceDataStore<T>,A> block)Pattern1Def<A>exists(org.drools.model.functions.Function1<Pattern1Def<A>,PatternDef> patternBuilder)<V> Pattern1Def<A>filter(java.lang.String fieldName, org.drools.model.functions.Function1<A,V> extractor, org.drools.model.Index.ConstraintType constraintType, java.lang.String rightFieldName, org.drools.model.functions.Function1<A,V> rightExtractor)<V> Pattern1Def<A>filter(java.lang.String fieldName, org.drools.model.functions.Function1<A,V> extractor, org.drools.model.Index.ConstraintType constraintType, V rightValue)Pattern1Def<A>filter(java.lang.String fieldName, org.drools.model.functions.Predicate1<A> predicate)<V> Pattern1Def<A>filter(org.drools.model.functions.Function1<A,V> extractor, org.drools.model.Index.ConstraintType constraintType, org.drools.model.functions.Function1<A,V> rightExtractor)<V> Pattern1Def<A>filter(org.drools.model.functions.Function1<A,V> extractor, org.drools.model.Index.ConstraintType constraintType, V rightValue)Pattern1Def<A>filter(org.drools.model.functions.Predicate1<A> predicate)Pattern1Def<A>filter(org.drools.model.Index.ConstraintType constraintType, A rightValue)<B,K,V>
Pattern3Def<A,K,V>groupBy(org.drools.model.functions.Function1<Pattern1Def<A>,PatternDef> patternBuilder, org.drools.model.functions.Function1<B,K> groupingFunction, Accumulator1<B,V> acc)<B> Pattern2Def<A,B>join(org.drools.model.functions.Function1<RuleFactory,Pattern1Def<B>> patternBuilder)Pattern1Def<A>not(org.drools.model.functions.Function1<Pattern1Def<A>,PatternDef> patternBuilder)<B> Pattern2Def<A,B>on(org.drools.ruleunits.api.DataSource<B> dataSource)
-
-
-
Method Detail
-
filter
Pattern1Def<A> filter(org.drools.model.functions.Predicate1<A> predicate)
-
filter
Pattern1Def<A> filter(java.lang.String fieldName, org.drools.model.functions.Predicate1<A> predicate)
-
filter
Pattern1Def<A> filter(org.drools.model.Index.ConstraintType constraintType, A rightValue)
-
filter
<V> Pattern1Def<A> filter(org.drools.model.functions.Function1<A,V> extractor, org.drools.model.Index.ConstraintType constraintType, V rightValue)
-
filter
<V> Pattern1Def<A> filter(java.lang.String fieldName, org.drools.model.functions.Function1<A,V> extractor, org.drools.model.Index.ConstraintType constraintType, V rightValue)
-
filter
<V> Pattern1Def<A> filter(org.drools.model.functions.Function1<A,V> extractor, org.drools.model.Index.ConstraintType constraintType, org.drools.model.functions.Function1<A,V> rightExtractor)
-
filter
<V> Pattern1Def<A> filter(java.lang.String fieldName, org.drools.model.functions.Function1<A,V> extractor, org.drools.model.Index.ConstraintType constraintType, java.lang.String rightFieldName, org.drools.model.functions.Function1<A,V> rightExtractor)
-
on
<B> Pattern2Def<A,B> on(org.drools.ruleunits.api.DataSource<B> dataSource)
-
join
<B> Pattern2Def<A,B> join(org.drools.model.functions.Function1<RuleFactory,Pattern1Def<B>> patternBuilder)
-
accumulate
<B,C> Pattern2Def<A,C> accumulate(org.drools.model.functions.Function1<Pattern1Def<A>,PatternDef> patternBuilder, Accumulator1<B,C> acc)
-
groupBy
<B,K,V> Pattern3Def<A,K,V> groupBy(org.drools.model.functions.Function1<Pattern1Def<A>,PatternDef> patternBuilder, org.drools.model.functions.Function1<B,K> groupingFunction, Accumulator1<B,V> acc)
-
exists
Pattern1Def<A> exists(org.drools.model.functions.Function1<Pattern1Def<A>,PatternDef> patternBuilder)
-
not
Pattern1Def<A> not(org.drools.model.functions.Function1<Pattern1Def<A>,PatternDef> patternBuilder)
-
execute
void execute(org.drools.model.functions.Block1<A> block)
-
execute
<G> void execute(G globalObject, org.drools.model.functions.Block1<G> block)
-
execute
<G> void execute(G globalObject, org.drools.model.functions.Block2<G,A> block)
-
executeOnDataStore
<T> void executeOnDataStore(org.drools.ruleunits.api.DataStore<T> dataStore, org.drools.model.functions.Block1<org.drools.ruleunits.impl.datasources.ConsequenceDataStore<T>> block)
-
executeOnDataStore
<T> void executeOnDataStore(org.drools.ruleunits.api.DataStore<T> dataStore, org.drools.model.functions.Block2<org.drools.ruleunits.impl.datasources.ConsequenceDataStore<T>,A> block)
-
-