OmniSciDB  dfae7c3b14
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 1253 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_GeomFromText()

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

Definition at line 1254 of file MapDSqlOperatorTable.java.

1254  {
1255  super("ST_GeomFromText",
1256  SqlKind.OTHER_FUNCTION,
1257  null,
1258  null,
1259  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1260  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1261  SqlFunctionCategory.SYSTEM);
1262  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1265 of file MapDSqlOperatorTable.java.

1265  {
1266  assert opBinding.getOperandCount() == 1;
1267  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1268  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1269  }

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