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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_GeogFromText ()
 

Detailed Description

Definition at line 996 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 997 of file MapDSqlOperatorTable.java.

997  {
998  super("ST_GeogFromText",
999  SqlKind.OTHER_FUNCTION,
1000  null,
1001  null,
1002  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1003  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1004  SqlFunctionCategory.SYSTEM);
1005  }

Member Function Documentation

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

Definition at line 1008 of file MapDSqlOperatorTable.java.

References assert().

1008  {
1009  assert opBinding.getOperandCount() == 1;
1010  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1011  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1012  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:


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