OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeomFromText Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeomFromText:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeomFromText:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_GeomFromText ()
 

Detailed Description

Definition at line 954 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_GeomFromText()

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

Definition at line 955 of file MapDSqlOperatorTable.java.

955  {
956  super("ST_GeomFromText",
957  SqlKind.OTHER_FUNCTION,
958  null,
959  null,
960  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
961  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
962  SqlFunctionCategory.SYSTEM);
963  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 966 of file MapDSqlOperatorTable.java.

966  {
967  assert opBinding.getOperandCount() == 1;
968  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
969  return typeFactory.createSqlType(SqlTypeName.INTEGER);
970  }

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