Package org.apache.calcite.tools
Class RuleSets.ListRuleSet
- java.lang.Object
-
- org.apache.calcite.tools.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()
-
-
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
iterator
public java.util.Iterator<RelOptRule> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<RelOptRule>
-
-