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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_GeogFromText ()
 

Detailed Description

Definition at line 1203 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1204 of file MapDSqlOperatorTable.java.

References ANY, and INTEGER.

1204  {
1205  super("ST_GeogFromText",
1206  SqlKind.OTHER_FUNCTION,
1207  null,
1208  null,
1209  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1210  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1211  SqlFunctionCategory.SYSTEM);
1212  }
#define ANY
#define INTEGER

Member Function Documentation

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

Definition at line 1215 of file MapDSqlOperatorTable.java.

References INTEGER.

1215  {
1216  assert opBinding.getOperandCount() == 1;
1217  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1218  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1219  }
#define INTEGER

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