OmniSciDB  29e35f4d58
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 745 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ Sign()

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

Definition at line 746 of file MapDSqlOperatorTable.java.

746  {
747  super("SIGN",
748  SqlKind.OTHER_FUNCTION,
749  null,
750  null,
751  OperandTypes.NUMERIC,
752  SqlFunctionCategory.NUMERIC);
753  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 756 of file MapDSqlOperatorTable.java.

756  {
757  return opBinding.getOperandType(0);
758  }

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