OmniSciDB  29e35f4d58
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 1015 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_GeomFromText()

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

Definition at line 1016 of file MapDSqlOperatorTable.java.

1016  {
1017  super("ST_GeomFromText",
1018  SqlKind.OTHER_FUNCTION,
1019  null,
1020  null,
1021  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1022  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1023  SqlFunctionCategory.SYSTEM);
1024  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 1027 of file MapDSqlOperatorTable.java.

1027  {
1028  assert opBinding.getOperandCount() == 1;
1029  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1030  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1031  }

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