OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSqlOperatorTable.Sign Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Sign:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Sign:

Public Member Functions

 Sign ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Detailed Description

Definition at line 684 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ Sign()

com.mapd.calcite.parser.MapDSqlOperatorTable.Sign.Sign ( )
inline

Definition at line 685 of file MapDSqlOperatorTable.java.

685  {
686  super("SIGN",
687  SqlKind.OTHER_FUNCTION,
688  null,
689  null,
690  OperandTypes.NUMERIC,
691  SqlFunctionCategory.NUMERIC);
692  }

Member Function Documentation

◆ inferReturnType()

RelDataType com.mapd.calcite.parser.MapDSqlOperatorTable.Sign.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 695 of file MapDSqlOperatorTable.java.

695  {
696  return opBinding.getOperandType(0);
697  }

The documentation for this class was generated from the following file: