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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_Intersects ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 884 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 885 of file MapDSqlOperatorTable.java.

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

885  {
886  super("ST_Intersects",
887  SqlKind.OTHER_FUNCTION,
888  null,
889  null,
890  OperandTypes.family(signature()),
891  SqlFunctionCategory.SYSTEM);
892  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 895 of file MapDSqlOperatorTable.java.

References BOOLEAN.

895  {
896  assert opBinding.getOperandCount() == 2;
897  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
898  return typeFactory.createTypeWithNullability(
899  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
900  opBinding.getOperandType(0).isNullable()
901  || opBinding.getOperandType(1).isNullable());
902  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersects.signature ( )
inlinestaticprivate

Definition at line 904 of file MapDSqlOperatorTable.java.

References ANY.

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

904  {
905  java.util.List<SqlTypeFamily> st_intersects_sig =
906  new java.util.ArrayList<SqlTypeFamily>();
907  st_intersects_sig.add(SqlTypeFamily.ANY);
908  st_intersects_sig.add(SqlTypeFamily.ANY);
909  return st_intersects_sig;
910  }
#define ANY

+ Here is the caller graph for this function:


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