OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Intersects Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Intersects:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.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 1958 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1959 of file HeavyDBSqlOperatorTable.java.

1959  {
1960  super("ST_Intersects",
1961  SqlKind.OTHER_FUNCTION,
1962  null,
1963  null,
1964  OperandTypes.family(signature()),
1965  SqlFunctionCategory.SYSTEM);
1966  }

Member Function Documentation

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

Definition at line 1969 of file HeavyDBSqlOperatorTable.java.

1969  {
1970  assert opBinding.getOperandCount() == 2;
1971  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1972  return typeFactory.createTypeWithNullability(
1973  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1974  opBinding.getOperandType(0).isNullable()
1975  || opBinding.getOperandType(1).isNullable());
1976  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_Intersects.signature ( )
inlinestaticprivate

Definition at line 1978 of file HeavyDBSqlOperatorTable.java.

1978  {
1979  java.util.List<SqlTypeFamily> st_intersects_sig =
1980  new java.util.ArrayList<SqlTypeFamily>();
1981  st_intersects_sig.add(SqlTypeFamily.ANY);
1982  st_intersects_sig.add(SqlTypeFamily.ANY);
1983  return st_intersects_sig;
1984  }

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