OmniSciDB  2e3a973ef4
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 778 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ Sign()

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

Definition at line 779 of file MapDSqlOperatorTable.java.

779  {
780  super("SIGN",
781  SqlKind.OTHER_FUNCTION,
782  null,
783  null,
784  OperandTypes.NUMERIC,
785  SqlFunctionCategory.NUMERIC);
786  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 789 of file MapDSqlOperatorTable.java.

789  {
790  return opBinding.getOperandType(0);
791  }

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