OmniSciDB  3a86f6ec37
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 1352 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_GeogFromText()

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

Definition at line 1353 of file MapDSqlOperatorTable.java.

1353  {
1354  super("ST_GeogFromText",
1355  SqlKind.OTHER_FUNCTION,
1356  null,
1357  null,
1358  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1359  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1360  SqlFunctionCategory.SYSTEM);
1361  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1364 of file MapDSqlOperatorTable.java.

1364  {
1365  assert opBinding.getOperandCount() == 1;
1366  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1367  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1368  }

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