OmniSciDB  addbbd5075
 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 944 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 945 of file MapDSqlOperatorTable.java.

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

945  {
946  super("ST_Distance",
947  SqlKind.OTHER_FUNCTION,
948  null,
949  null,
950  OperandTypes.family(signature()),
951  SqlFunctionCategory.SYSTEM);
952  }

+ 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 955 of file MapDSqlOperatorTable.java.

References assert().

955  {
956  assert opBinding.getOperandCount() == 2;
957  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
958  return typeFactory.createSqlType(SqlTypeName.DOUBLE);
959  }
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 961 of file MapDSqlOperatorTable.java.

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

961  {
962  java.util.List<SqlTypeFamily> st_distance_sig =
963  new java.util.ArrayList<SqlTypeFamily>();
964  st_distance_sig.add(SqlTypeFamily.ANY);
965  st_distance_sig.add(SqlTypeFamily.ANY);
966  return st_distance_sig;
967  }

+ Here is the caller graph for this function:


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