Package org.apache.calcite.util
Class NameSet
java.lang.Object
org.apache.calcite.util.NameSet
Set of names that can be accessed with and without case sensitivity.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbooleanReturns whether this set contains the given name, with a given case-sensitivity.booleaninthashCode()static NameSetimmutableCopyOf(Set<String> names) Creates a NameSet that is an immutable copy of a given collection.iterable()Returns the contents as an iterable.Returns an iterable over all the entries in the set that match the given name.toString()
- 
Field Details- 
COMPARATOR
 
- 
- 
Constructor Details- 
NameSetpublic NameSet()Creates a NameSet, initially empty.
 
- 
- 
Method Details- 
immutableCopyOfCreates a NameSet that is an immutable copy of a given collection.
- 
toString
- 
hashCodepublic int hashCode()
- 
equals
- 
add
- 
rangeReturns an iterable over all the entries in the set that match the given name. If case-sensitive, that iterable will have 0 or 1 elements; if case-insensitive, it may have 0 or more.
- 
containsReturns whether this set contains the given name, with a given case-sensitivity.
- 
iterableReturns the contents as an iterable.
 
-