Package org.apache.calcite.schema.lookup
Class IgnoreCaseLookup<T>
java.lang.Object
org.apache.calcite.schema.lookup.IgnoreCaseLookup<T>
- Type Parameters:
- T- Element type
- All Implemented Interfaces:
- Lookup<T>
- Direct Known Subclasses:
- CompatibilityLookup
An abstract base class for lookups implementing case insensitive lookup.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract @Nullable TReturns a named entity with a given name, or null if not found.getIgnoreCase(String name) Returns a named entity with a given name ignoring the case, or null if not found.getNames(LikePattern pattern) Returns the names of the entities in matching pattern.
- 
Constructor Details- 
IgnoreCaseLookuppublic IgnoreCaseLookup()
 
- 
- 
Method Details- 
getReturns a named entity with a given name, or null if not found.
- 
getIgnoreCaseReturns a named entity with a given name ignoring the case, or null if not found.- Specified by:
- getIgnoreCasein interface- Lookup<T>
- Parameters:
- name- Name
- Returns:
- Entity with the specified name, or null when the entity is not found.
 
- 
getNamesDescription copied from interface:LookupReturns the names of the entities in matching pattern. The search is always case sensitive. This is caused by the fact thatDatabaseMetaData.getTables(...)doesn't support case insensitive lookups.
 
-