Interface Pattern2Def<A,​B>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <G> void execute​(G globalObject, org.drools.model.functions.Block3<G,​A,​B> block)  
      void execute​(org.drools.model.functions.Block2<A,​B> block)  
      <T> void executeOnDataStore​(org.drools.ruleunits.api.DataStore<T> dataStore, org.drools.model.functions.Block1<org.drools.ruleunits.impl.datasources.ConsequenceDataStore<T>> block)  
      <T> void executeOnDataStore​(org.drools.ruleunits.api.DataStore<T> dataStore, org.drools.model.functions.Block3<org.drools.ruleunits.impl.datasources.ConsequenceDataStore<T>,​A,​B> block)  
      Pattern2DefImpl<A,​B> exists​(org.drools.model.functions.Function1<Pattern2Def<A,​B>,​PatternDef> patternBuilder)  
      <V> Pattern2Def<A,​B> filter​(java.lang.String fieldName, org.drools.model.functions.Function1<B,​V> leftExtractor, org.drools.model.Index.ConstraintType constraintType, org.drools.model.functions.Function1<A,​V> rightExtractor)  
      <V> Pattern2Def<A,​B> filter​(org.drools.model.functions.Function1<B,​V> leftExtractor, org.drools.model.Index.ConstraintType constraintType, org.drools.model.functions.Function1<A,​V> rightExtractor)  
      Pattern2Def<A,​B> filter​(org.drools.model.functions.Predicate2<A,​B> predicate)  
      Pattern2Def<A,​B> filter​(org.drools.model.Index.ConstraintType constraintType, org.drools.model.functions.Function1<A,​B> rightExtractor)  
      <C> Pattern3Def<A,​B,​C> join​(org.drools.model.functions.Function1<RuleFactory,​Pattern1Def<C>> patternBuilder)  
      Pattern2DefImpl<A,​B> not​(org.drools.model.functions.Function1<Pattern2Def<A,​B>,​PatternDef> patternBuilder)  
      <C> Pattern3Def<A,​B,​C> on​(org.drools.ruleunits.api.DataSource<C> dataSource)  
    • Method Detail

      • filter

        Pattern2Def<A,​B> filter​(org.drools.model.functions.Predicate2<A,​B> predicate)
      • filter

        Pattern2Def<A,​B> filter​(org.drools.model.Index.ConstraintType constraintType,
                                      org.drools.model.functions.Function1<A,​B> rightExtractor)
      • filter

        <V> Pattern2Def<A,​B> filter​(org.drools.model.functions.Function1<B,​V> leftExtractor,
                                          org.drools.model.Index.ConstraintType constraintType,
                                          org.drools.model.functions.Function1<A,​V> rightExtractor)
      • filter

        <V> Pattern2Def<A,​B> filter​(java.lang.String fieldName,
                                          org.drools.model.functions.Function1<B,​V> leftExtractor,
                                          org.drools.model.Index.ConstraintType constraintType,
                                          org.drools.model.functions.Function1<A,​V> rightExtractor)
      • on

        <C> Pattern3Def<A,​B,​C> on​(org.drools.ruleunits.api.DataSource<C> dataSource)
      • execute

        void execute​(org.drools.model.functions.Block2<A,​B> block)
      • execute

        <G> void execute​(G globalObject,
                         org.drools.model.functions.Block3<G,​A,​B> 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.Block3<org.drools.ruleunits.impl.datasources.ConsequenceDataStore<T>,​A,​B> block)