net.sf.jsqlparser.expression.TimeKeyExpression Java Examples
The following examples show how to use
net.sf.jsqlparser.expression.TimeKeyExpression.
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: ExpressionVisitorImpl.java From DataPermissionHelper with Apache License 2.0 | 4 votes |
@Override public void visit(TimeKeyExpression timeKeyExpression) { }
Example #2
Source File: AbstractSpannerExpressionVisitorAdapter.java From spanner-jdbc with MIT License | 4 votes |
@Override public void visit(TimeKeyExpression timeKeyExpression) { throw new IllegalArgumentException(new CloudSpannerSQLException( "Function calls such as for example GET_TIMESTAMP() are not allowed in client side insert/update statements. Use an insert statement with a select statement instead: INSERT INTO COL1, COL2, COL3 SELECT 1, GET_TIMESTAMP(), 'test'", Code.INVALID_ARGUMENT)); }
Example #3
Source File: DMLWhereClauseVisitorAdapter.java From spanner-jdbc with MIT License | 4 votes |
@Override public void visit(TimeKeyExpression timeKeyExpression) { invalid = true; super.visit(timeKeyExpression); }