Java Code Examples for net.sf.jsqlparser.expression.TimeKeyExpression

The following examples show how to use net.sf.jsqlparser.expression.TimeKeyExpression. These examples are extracted from open source projects. 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
@Override
public void visit(TimeKeyExpression timeKeyExpression) {
}
 
Example 2
@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 Project: spanner-jdbc   Source File: DMLWhereClauseVisitorAdapter.java    License: MIT License 4 votes vote down vote up
@Override
public void visit(TimeKeyExpression timeKeyExpression) {
  invalid = true;
  super.visit(timeKeyExpression);
}