OmniSciDB  085a039ca4
 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 1637 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1638 of file HeavyDBSqlOperatorTable.java.

1638  {
1639  super("ST_GeomFromText",
1640  SqlKind.OTHER_FUNCTION,
1641  null,
1642  null,
1643  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1644  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1645  SqlFunctionCategory.SYSTEM);
1646  }

Member Function Documentation

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

Definition at line 1649 of file HeavyDBSqlOperatorTable.java.

1649  {
1650  assert opBinding.getOperandCount() == 1;
1651  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1652  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1653  }

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