Java Code Examples for org.apache.calcite.sql.validate.SqlValidator#validateIdentifier()
The following examples show how to use
org.apache.calcite.sql.validate.SqlValidator#validateIdentifier() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SqlIdentifier.java From Bats with Apache License 2.0 | 5 votes |
public void validateExpr(SqlValidator validator, SqlValidatorScope scope) { // First check for builtin functions which don't have parentheses, // like "LOCALTIME". SqlCall call = SqlUtil.makeCall( validator.getOperatorTable(), this); if (call != null) { validator.validateCall(call, scope); return; } validator.validateIdentifier(this, scope); }
Example 2
Source File: SqlIdentifier.java From calcite with Apache License 2.0 | 5 votes |
public void validateExpr(SqlValidator validator, SqlValidatorScope scope) { // First check for builtin functions which don't have parentheses, // like "LOCALTIME". final SqlCall call = validator.makeNullaryCall(this); if (call != null) { validator.validateCall(call, scope); return; } validator.validateIdentifier(this, scope); }
Example 3
Source File: SqlIdentifier.java From Bats with Apache License 2.0 | 4 votes |
public void validate(SqlValidator validator, SqlValidatorScope scope) { validator.validateIdentifier(this, scope); }
Example 4
Source File: SqlIdentifier.java From calcite with Apache License 2.0 | 4 votes |
public void validate(SqlValidator validator, SqlValidatorScope scope) { validator.validateIdentifier(this, scope); }