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

Constructor & Destructor Documentation

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

Definition at line 1822 of file HeavyDBSqlOperatorTable.java.

1822  {
1823  super("ST_GeogFromText",
1824  SqlKind.OTHER_FUNCTION,
1825  null,
1826  null,
1827  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1828  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1829  SqlFunctionCategory.SYSTEM);
1830  }

Member Function Documentation

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

Definition at line 1833 of file HeavyDBSqlOperatorTable.java.

1833  {
1834  assert opBinding.getOperandCount() == 1;
1835  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1836  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1837  }

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