OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 1189 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1190 of file MapDSqlOperatorTable.java.

1190  {
1191  super("ST_X",
1192  SqlKind.OTHER_FUNCTION,
1193  null,
1194  null,
1195  OperandTypes.family(SqlTypeFamily.ANY),
1196  SqlFunctionCategory.SYSTEM);
1197  }

Member Function Documentation

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

Definition at line 1200 of file MapDSqlOperatorTable.java.

References assert().

1200  {
1201  assert opBinding.getOperandCount() == 1;
1202  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1203  return typeFactory.createTypeWithNullability(
1204  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1205  opBinding.getOperandType(0).isNullable());
1206  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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