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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_X ()
 

Detailed Description

Definition at line 991 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_X()

com.mapd.calcite.parser.MapDSqlOperatorTable.ST_X.ST_X ( )
inlinepackage

Definition at line 992 of file MapDSqlOperatorTable.java.

992  {
993  super("ST_X",
994  SqlKind.OTHER_FUNCTION,
995  null,
996  null,
997  OperandTypes.family(SqlTypeFamily.ANY),
998  SqlFunctionCategory.SYSTEM);
999  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1002 of file MapDSqlOperatorTable.java.

1002  {
1003  assert opBinding.getOperandCount() == 1;
1004  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1005  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
1006  }

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