OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 1222 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1223 of file MapDSqlOperatorTable.java.

References ANY, and INTEGER.

1223  {
1224  super("ST_GeomFromText",
1225  SqlKind.OTHER_FUNCTION,
1226  null,
1227  null,
1228  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1229  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1230  SqlFunctionCategory.SYSTEM);
1231  }
#define ANY
#define INTEGER

Member Function Documentation

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

Definition at line 1234 of file MapDSqlOperatorTable.java.

References INTEGER.

1234  {
1235  assert opBinding.getOperandCount() == 1;
1236  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1237  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1238  }
#define INTEGER

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