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

Constructor & Destructor Documentation

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

Definition at line 898 of file MapDSqlOperatorTable.java.

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

898  {
899  super("ST_Intersects",
900  SqlKind.OTHER_FUNCTION,
901  null,
902  null,
903  OperandTypes.family(signature()),
904  SqlFunctionCategory.SYSTEM);
905  }

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

References assert().

908  {
909  assert opBinding.getOperandCount() == 2;
910  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
911  return typeFactory.createTypeWithNullability(
912  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
913  opBinding.getOperandType(0).isNullable()
914  || opBinding.getOperandType(1).isNullable());
915  }
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_Intersects.signature ( )
inlinestaticprivate

Definition at line 917 of file MapDSqlOperatorTable.java.

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

917  {
918  java.util.List<SqlTypeFamily> st_intersects_sig =
919  new java.util.ArrayList<SqlTypeFamily>();
920  st_intersects_sig.add(SqlTypeFamily.ANY);
921  st_intersects_sig.add(SqlTypeFamily.ANY);
922  return st_intersects_sig;
923  }

+ Here is the caller graph for this function:


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