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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_GeogFromText ()
 

Detailed Description

Definition at line 1834 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1835 of file HeavyDBSqlOperatorTable.java.

1835  {
1836  super("ST_GeogFromText",
1837  SqlKind.OTHER_FUNCTION,
1838  null,
1839  null,
1840  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1841  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1842  SqlFunctionCategory.SYSTEM);
1843  }

Member Function Documentation

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

Definition at line 1846 of file HeavyDBSqlOperatorTable.java.

1846  {
1847  assert opBinding.getOperandCount() == 1;
1848  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1849  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1850  }

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