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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_GeomFromText ()
 

Detailed Description

Definition at line 986 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 987 of file MapDSqlOperatorTable.java.

987  {
988  super("ST_GeomFromText",
989  SqlKind.OTHER_FUNCTION,
990  null,
991  null,
992  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
993  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
994  SqlFunctionCategory.SYSTEM);
995  }

Member Function Documentation

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

Definition at line 998 of file MapDSqlOperatorTable.java.

References assert().

998  {
999  assert opBinding.getOperandCount() == 1;
1000  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1001  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1002  }
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: