OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_DFullyWithin Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_DFullyWithin:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_DFullyWithin:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_DFullyWithin ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 1745 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1746 of file HeavyDBSqlOperatorTable.java.

1746  {
1747  super("ST_DFullyWithin",
1748  SqlKind.OTHER_FUNCTION,
1749  null,
1750  null,
1751  OperandTypes.family(signature()),
1752  SqlFunctionCategory.SYSTEM);
1753  }

Member Function Documentation

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

Definition at line 1756 of file HeavyDBSqlOperatorTable.java.

1756  {
1757  assert opBinding.getOperandCount() == 3;
1758  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1759  return typeFactory.createTypeWithNullability(
1760  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
1761  opBinding.getOperandType(0).isNullable()
1762  || opBinding.getOperandType(1).isNullable()
1763  || opBinding.getOperandType(2).isNullable());
1764  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 1766 of file HeavyDBSqlOperatorTable.java.

1766  {
1767  java.util.List<SqlTypeFamily> st_dwithin_sig =
1768  new java.util.ArrayList<SqlTypeFamily>();
1769  st_dwithin_sig.add(SqlTypeFamily.ANY);
1770  st_dwithin_sig.add(SqlTypeFamily.ANY);
1771  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
1772  return st_dwithin_sig;
1773  }

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