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

Constructor & Destructor Documentation

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

Definition at line 945 of file MapDSqlOperatorTable.java.

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

945  {
946  super("ST_Intersects",
947  SqlKind.OTHER_FUNCTION,
948  null,
949  null,
950  OperandTypes.family(signature()),
951  SqlFunctionCategory.SYSTEM);
952  }

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

References BOOLEAN.

955  {
956  assert opBinding.getOperandCount() == 2;
957  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
958  return typeFactory.createTypeWithNullability(
959  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
960  opBinding.getOperandType(0).isNullable()
961  || opBinding.getOperandType(1).isNullable());
962  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersects.signature ( )
inlinestaticprivate

Definition at line 964 of file MapDSqlOperatorTable.java.

References ANY.

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

964  {
965  java.util.List<SqlTypeFamily> st_intersects_sig =
966  new java.util.ArrayList<SqlTypeFamily>();
967  st_intersects_sig.add(SqlTypeFamily.ANY);
968  st_intersects_sig.add(SqlTypeFamily.ANY);
969  return st_intersects_sig;
970  }
#define ANY

+ Here is the caller graph for this function:


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