Java Code Examples for org.apache.calcite.sql.SqlKind#OTHER
The following examples show how to use
org.apache.calcite.sql.SqlKind#OTHER .
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: SqlMultisetMemberOfOperator.java From Bats with Apache License 2.0 | 5 votes |
public SqlMultisetMemberOfOperator() { // TODO check if precedence is correct super( "MEMBER OF", SqlKind.OTHER, 30, true, ReturnTypes.BOOLEAN_NULLABLE, null, null); }
Example 2
Source File: SqlDatePartFunction.java From Bats with Apache License 2.0 | 5 votes |
public SqlDatePartFunction(String name, TimeUnit timeUnit) { super(name, SqlKind.OTHER, ReturnTypes.BIGINT_NULLABLE, InferTypes.FIRST_KNOWN, OperandTypes.DATETIME, SqlFunctionCategory.TIMEDATE); this.timeUnit = timeUnit; }
Example 3
Source File: SqlThrowOperator.java From Bats with Apache License 2.0 | 5 votes |
public SqlThrowOperator() { super( "$throw", SqlKind.OTHER, 2, true, ReturnTypes.BOOLEAN, null, OperandTypes.CHARACTER); }
Example 4
Source File: SqlMultisetSetOperator.java From Bats with Apache License 2.0 | 5 votes |
public SqlMultisetSetOperator(String name, int prec, boolean all) { super( name, SqlKind.OTHER, prec, true, ReturnTypes.MULTISET_NULLABLE, InferTypes.FIRST_KNOWN, OperandTypes.MULTISET_MULTISET); this.all = all; }
Example 5
Source File: SqlMultisetMemberOfOperator.java From calcite with Apache License 2.0 | 5 votes |
public SqlMultisetMemberOfOperator() { // TODO check if precedence is correct super( "MEMBER OF", SqlKind.OTHER, 30, true, ReturnTypes.BOOLEAN_NULLABLE, null, null); }
Example 6
Source File: SqlDatePartFunction.java From calcite with Apache License 2.0 | 5 votes |
public SqlDatePartFunction(String name, TimeUnit timeUnit) { super(name, SqlKind.OTHER, ReturnTypes.BIGINT_NULLABLE, InferTypes.FIRST_KNOWN, OperandTypes.DATETIME, SqlFunctionCategory.TIMEDATE); this.timeUnit = timeUnit; }
Example 7
Source File: SqlThrowOperator.java From calcite with Apache License 2.0 | 5 votes |
public SqlThrowOperator() { super( "$throw", SqlKind.OTHER, 2, true, ReturnTypes.BOOLEAN, null, OperandTypes.CHARACTER); }
Example 8
Source File: SqlMultisetSetOperator.java From calcite with Apache License 2.0 | 5 votes |
public SqlMultisetSetOperator(String name, int prec, boolean all) { super( name, SqlKind.OTHER, prec, true, ReturnTypes.MULTISET_NULLABLE, InferTypes.FIRST_KNOWN, OperandTypes.MULTISET_MULTISET); this.all = all; }
Example 9
Source File: RexNodeBase.java From Bats with Apache License 2.0 | 2 votes |
/** * Returns the kind of node this is. * * @return Node kind, never null */ @Override public SqlKind getKind() { return SqlKind.OTHER; }
Example 10
Source File: RexNode.java From calcite with Apache License 2.0 | 2 votes |
/** * Returns the kind of node this is. * * @return Node kind, never null */ public SqlKind getKind() { return SqlKind.OTHER; }