OmniSciDB  bf83d84833
 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 1090 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1091 of file MapDSqlOperatorTable.java.

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

1091  {
1092  super("ST_Contains",
1093  SqlKind.OTHER_FUNCTION,
1094  null,
1095  null,
1096  OperandTypes.family(signature()),
1097  SqlFunctionCategory.SYSTEM);
1098  }

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

1101  {
1102  assert opBinding.getOperandCount() == 2;
1103  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1104  return typeFactory.createTypeWithNullability(
1105  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1106  opBinding.getOperandType(0).isNullable()
1107  || opBinding.getOperandType(1).isNullable());
1108  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Contains.signature ( )
inlinestaticprivate

Definition at line 1110 of file MapDSqlOperatorTable.java.

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

1110  {
1111  java.util.List<SqlTypeFamily> st_contains_sig =
1112  new java.util.ArrayList<SqlTypeFamily>();
1113  st_contains_sig.add(SqlTypeFamily.ANY);
1114  st_contains_sig.add(SqlTypeFamily.ANY);
1115  return st_contains_sig;
1116  }

+ Here is the caller graph for this function:


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