public interface SqlNameMatcher
SqlNameMatchers| Modifier and Type | Method and Description |
|---|---|
String |
bestString()
Returns the most recent match.
|
RelDataTypeField |
field(RelDataType rowType,
String fieldName)
Finds a field with a given name, using the current case-sensitivity,
returning null if not found.
|
<K extends List<String>,V> |
get(Map<K,V> map,
List<String> prefixNames,
List<String> names)
Looks up an item in a map.
|
boolean |
isCaseSensitive()
Returns whether name matching is case-sensitive.
|
boolean |
matches(String string,
String name)
Returns a name matches another.
|
boolean isCaseSensitive()
boolean matches(String string, String name)
string - Name written in codename - Name of object we are trying to match<K extends List<String>,V> V get(Map<K,V> map, List<String> prefixNames, List<String> names)
String bestString()
In the default implementation,
throws UnsupportedOperationException.
RelDataTypeField field(RelDataType rowType, String fieldName)
rowType - Row typefieldName - Field nameCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.