OmniSciDB  04ee39c94c
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 935 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_GeogFromText()

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

Definition at line 936 of file MapDSqlOperatorTable.java.

936  {
937  super("ST_GeogFromText",
938  SqlKind.OTHER_FUNCTION,
939  null,
940  null,
941  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
942  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
943  SqlFunctionCategory.SYSTEM);
944  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 947 of file MapDSqlOperatorTable.java.

947  {
948  assert opBinding.getOperandCount() == 1;
949  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
950  return typeFactory.createSqlType(SqlTypeName.INTEGER);
951  }

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