OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 889 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 890 of file MapDSqlOperatorTable.java.

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

890  {
891  super("ST_Contains",
892  SqlKind.OTHER_FUNCTION,
893  null,
894  null,
895  OperandTypes.family(signature()),
896  SqlFunctionCategory.SYSTEM);
897  }

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

References BOOLEAN.

900  {
901  assert opBinding.getOperandCount() == 2;
902  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
903  return typeFactory.createTypeWithNullability(
904  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
905  opBinding.getOperandType(0).isNullable()
906  || opBinding.getOperandType(1).isNullable());
907  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Contains.signature ( )
inlinestaticprivate

Definition at line 909 of file MapDSqlOperatorTable.java.

References ANY.

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

909  {
910  java.util.List<SqlTypeFamily> st_contains_sig =
911  new java.util.ArrayList<SqlTypeFamily>();
912  st_contains_sig.add(SqlTypeFamily.ANY);
913  st_contains_sig.add(SqlTypeFamily.ANY);
914  return st_contains_sig;
915  }
#define ANY

+ Here is the caller graph for this function:


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