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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Contains ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 757 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 758 of file MapDSqlOperatorTable.java.

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

758  {
759  super("ST_Contains",
760  SqlKind.OTHER_FUNCTION,
761  null,
762  null,
763  OperandTypes.family(signature()),
764  SqlFunctionCategory.SYSTEM);
765  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 768 of file MapDSqlOperatorTable.java.

References assert().

768  {
769  assert opBinding.getOperandCount() == 2;
770  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
771  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
772  }
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_Contains.signature ( )
inlinestaticprivate

Definition at line 774 of file MapDSqlOperatorTable.java.

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

774  {
775  java.util.List<SqlTypeFamily> st_contains_sig =
776  new java.util.ArrayList<SqlTypeFamily>();
777  st_contains_sig.add(SqlTypeFamily.ANY);
778  st_contains_sig.add(SqlTypeFamily.ANY);
779  return st_contains_sig;
780  }

+ Here is the caller graph for this function:


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