OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_GeomFromText Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_GeomFromText:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_GeomFromText:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_GeomFromText ()
 

Detailed Description

Definition at line 2236 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2237 of file HeavyDBSqlOperatorTable.java.

2237  {
2238  super("ST_GeomFromText",
2239  SqlKind.OTHER_FUNCTION,
2240  null,
2241  null,
2242  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
2243  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
2244  SqlFunctionCategory.SYSTEM);
2245  }

Member Function Documentation

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

Definition at line 2248 of file HeavyDBSqlOperatorTable.java.

2248  {
2249  assert opBinding.getOperandCount() == 1;
2250  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2251  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2252  }

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