OmniSciDB  4201147b46
 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 1615 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1616 of file HeavyDBSqlOperatorTable.java.

1616  {
1617  super("ST_GeogFromText",
1618  SqlKind.OTHER_FUNCTION,
1619  null,
1620  null,
1621  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1622  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1623  SqlFunctionCategory.SYSTEM);
1624  }

Member Function Documentation

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

Definition at line 1627 of file HeavyDBSqlOperatorTable.java.

1627  {
1628  assert opBinding.getOperandCount() == 1;
1629  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1630  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1631  }

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