OmniSciDB  a987f07e93
 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 1840 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1841 of file HeavyDBSqlOperatorTable.java.

1841  {
1842  super("ST_GeomFromText",
1843  SqlKind.OTHER_FUNCTION,
1844  null,
1845  null,
1846  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1847  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1848  SqlFunctionCategory.SYSTEM);
1849  }

Member Function Documentation

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

Definition at line 1852 of file HeavyDBSqlOperatorTable.java.

1852  {
1853  assert opBinding.getOperandCount() == 1;
1854  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1855  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1856  }

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