Package org.apache.calcite.sql.validate
Class SqlNameMatchers
java.lang.Object
org.apache.calcite.sql.validate.SqlNameMatchers
Helpers for
SqlNameMatcher
.-
Method Summary
Modifier and TypeMethodDescriptionstatic SqlNameMatcher
liberal()
Creates a name matcher that can suggest corrections to what the user typed.static SqlNameMatcher
withCaseSensitive
(boolean caseSensitive) Returns a name matcher with the given case sensitivity.
-
Method Details
-
withCaseSensitive
Returns a name matcher with the given case sensitivity. -
liberal
Creates a name matcher that can suggest corrections to what the user typed. It matches liberally (case-insensitively) and also records the last match.
-