Class RuleSets.ListRuleSet

  • All Implemented Interfaces:
    java.lang.Iterable<RelOptRule>, RuleSet
    Enclosing class:
    RuleSets

    private static class RuleSets.ListRuleSet
    extends java.lang.Object
    implements RuleSet
    Rule set that consists of a list of rules.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private com.google.common.collect.ImmutableList<RelOptRule> rules  
    • Constructor Summary

      Constructors 
      Constructor Description
      ListRuleSet​(com.google.common.collect.ImmutableList<RelOptRule> rules)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.util.Iterator<RelOptRule> iterator()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • rules

        private final com.google.common.collect.ImmutableList<RelOptRule> rules
    • Constructor Detail

      • ListRuleSet

        ListRuleSet​(com.google.common.collect.ImmutableList<RelOptRule> rules)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • iterator

        public java.util.Iterator<RelOptRule> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<RelOptRule>