OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Y Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Y:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Y:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Y ()
 

Detailed Description

Definition at line 1209 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1210 of file MapDSqlOperatorTable.java.

1210  {
1211  super("ST_Y",
1212  SqlKind.OTHER_FUNCTION,
1213  null,
1214  null,
1215  OperandTypes.family(SqlTypeFamily.ANY),
1216  SqlFunctionCategory.SYSTEM);
1217  }

Member Function Documentation

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

Definition at line 1220 of file MapDSqlOperatorTable.java.

References assert().

1220  {
1221  assert opBinding.getOperandCount() == 1;
1222  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1223  return typeFactory.createTypeWithNullability(
1224  typeFactory.createSqlType(SqlTypeName.DOUBLE),
1225  opBinding.getOperandType(0).isNullable());
1226  }
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: