OmniSciDB  06b3bd477c
 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 868 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 869 of file MapDSqlOperatorTable.java.

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

869  {
870  super("ST_Contains",
871  SqlKind.OTHER_FUNCTION,
872  null,
873  null,
874  OperandTypes.family(signature()),
875  SqlFunctionCategory.SYSTEM);
876  }

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

References assert().

879  {
880  assert opBinding.getOperandCount() == 2;
881  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
882  return typeFactory.createTypeWithNullability(
883  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
884  opBinding.getOperandType(0).isNullable()
885  || opBinding.getOperandType(1).isNullable());
886  }
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 888 of file MapDSqlOperatorTable.java.

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

888  {
889  java.util.List<SqlTypeFamily> st_contains_sig =
890  new java.util.ArrayList<SqlTypeFamily>();
891  st_contains_sig.add(SqlTypeFamily.ANY);
892  st_contains_sig.add(SqlTypeFamily.ANY);
893  return st_contains_sig;
894  }

+ Here is the caller graph for this function:


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