OmniSciDB  bf83d84833
 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 1371 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1372 of file MapDSqlOperatorTable.java.

1372  {
1373  super("ST_GeomFromText",
1374  SqlKind.OTHER_FUNCTION,
1375  null,
1376  null,
1377  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1378  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1379  SqlFunctionCategory.SYSTEM);
1380  }

Member Function Documentation

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

Definition at line 1383 of file MapDSqlOperatorTable.java.

1383  {
1384  assert opBinding.getOperandCount() == 1;
1385  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1386  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1387  }

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