OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Distance Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Distance:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Distance:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Distance ()
 

Static Private Member Functions

static java.util.List
< SqlTypeFamily > 
signature ()
 

Detailed Description

Definition at line 915 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 916 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Distance.signature().

916  {
917  super("ST_Distance",
918  SqlKind.OTHER_FUNCTION,
919  null,
920  null,
921  OperandTypes.family(signature()),
922  SqlFunctionCategory.SYSTEM);
923  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 926 of file MapDSqlOperatorTable.java.

References assert().

926  {
927  assert opBinding.getOperandCount() == 2;
928  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
929  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
930  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Distance.signature ( )
inlinestaticprivate

Definition at line 932 of file MapDSqlOperatorTable.java.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Distance.ST_Distance().

932  {
933  java.util.List<SqlTypeFamily> st_distance_sig =
934  new java.util.ArrayList<SqlTypeFamily>();
935  st_distance_sig.add(SqlTypeFamily.ANY);
936  st_distance_sig.add(SqlTypeFamily.ANY);
937  return st_distance_sig;
938  }

+ Here is the caller graph for this function:


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