Class SqlNameMatchers

java.lang.Object
org.apache.calcite.sql.validate.SqlNameMatchers

public class SqlNameMatchers extends Object
Helpers for SqlNameMatcher.
  • Method Details

    • withCaseSensitive

      public static SqlNameMatcher withCaseSensitive(boolean caseSensitive)
      Returns a name matcher with the given case sensitivity.
    • liberal

      public static SqlNameMatcher 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.