Class SqlInternalOperator

Direct Known Subclasses:
SqlIntervalOperator

public class SqlInternalOperator extends SqlSpecialOperator
Generic operator for nodes with internal syntax.

If you do not override getSyntax() or SqlOperator.unparse(SqlWriter, SqlCall, int, int), they will be unparsed using function syntax, F(arg1, arg2, ...). This may be OK for operators that never appear in SQL, only as structural elements in an abstract syntax tree.

You can use this operator, without creating a sub-class, for non-expression nodes. Validate will validate the arguments, but will not attempt to deduce a type.