OmniSciDB  06b3bd477c
 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 1188 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1189 of file MapDSqlOperatorTable.java.

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

Member Function Documentation

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

Definition at line 1199 of file MapDSqlOperatorTable.java.

References assert().

1199  {
1200  assert opBinding.getOperandCount() == 1;
1201  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1202  return typeFactory.createTypeWithNullability(
1203  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1204  opBinding.getOperandType(0).isNullable());
1205  }
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: