OmniSciDB  95562058bd
 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 1131 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1132 of file MapDSqlOperatorTable.java.

1132  {
1133  super("ST_GeogFromText",
1134  SqlKind.OTHER_FUNCTION,
1135  null,
1136  null,
1137  OperandTypes.or(OperandTypes.family(SqlTypeFamily.ANY),
1138  OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.INTEGER)),
1139  SqlFunctionCategory.SYSTEM);
1140  }

Member Function Documentation

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

Definition at line 1143 of file MapDSqlOperatorTable.java.

References assert().

1143  {
1144  assert opBinding.getOperandCount() == 1;
1145  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1146  return typeFactory.createSqlType(SqlTypeName.INTEGER);
1147  }
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: