OmniSciDB  fe05a0c208
 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 1162 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1163 of file MapDSqlOperatorTable.java.

References ANY, and INTEGER.

1163  {
1164  super("ST_GeomFromText",
1165  SqlKind.OTHER_FUNCTION,
1166  null,
1167  null,
1168  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1169  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1170  SqlFunctionCategory.SYSTEM);
1171  }
#define ANY
#define INTEGER

Member Function Documentation

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

Definition at line 1174 of file MapDSqlOperatorTable.java.

References INTEGER.

1174  {
1175  assert opBinding.getOperandCount() == 1;
1176  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1177  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1178  }
#define INTEGER

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