OmniSciDB  a5dc49c757
 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 2217 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 2218 of file HeavyDBSqlOperatorTable.java.

2218  {
2219  super("ST_GeogFromText",
2220  SqlKind.OTHER_FUNCTION,
2221  null,
2222  null,
2223  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
2224  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
2225  SqlFunctionCategory.SYSTEM);
2226  }

Member Function Documentation

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

Definition at line 2229 of file HeavyDBSqlOperatorTable.java.

2229  {
2230  assert opBinding.getOperandCount() == 1;
2231  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2232  return typeFactory.createSqlType(SqlTypeName.INTEGER);
2233  }

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