OmniSciDB  1dac507f6e
 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 967 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 968 of file MapDSqlOperatorTable.java.

968  {
969  super("ST_GeogFromText",
970  SqlKind.OTHER_FUNCTION,
971  null,
972  null,
973  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
974  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
975  SqlFunctionCategory.SYSTEM);
976  }

Member Function Documentation

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

Definition at line 979 of file MapDSqlOperatorTable.java.

References assert().

979  {
980  assert opBinding.getOperandCount() == 1;
981  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
982  return typeFactory.createSqlType(SqlTypeName.INTEGER);
983  }
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: