OmniSciDB  85c2d10cdc
 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 1143 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1144 of file MapDSqlOperatorTable.java.

References ANY, and INTEGER.

1144  {
1145  super("ST_GeogFromText",
1146  SqlKind.OTHER_FUNCTION,
1147  null,
1148  null,
1149  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1150  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1151  SqlFunctionCategory.SYSTEM);
1152  }
#define ANY
#define INTEGER

Member Function Documentation

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

Definition at line 1155 of file MapDSqlOperatorTable.java.

References INTEGER.

1155  {
1156  assert opBinding.getOperandCount() == 1;
1157  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1158  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1159  }
#define INTEGER

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