OmniSciDB  72c90bc290
 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 1987 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1988 of file HeavyDBSqlOperatorTable.java.

1988  {
1989  super("ST_DFullyWithin",
1990  SqlKind.OTHER_FUNCTION,
1991  null,
1992  null,
1993  OperandTypes.family(signature()),
1994  SqlFunctionCategory.SYSTEM);
1995  }

Member Function Documentation

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

Definition at line 1998 of file HeavyDBSqlOperatorTable.java.

1998  {
1999  assert opBinding.getOperandCount() == 3;
2000  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
2001  return typeFactory.createTypeWithNullability(
2002  typeFactory.createSqlType(SqlTypeName.BOOLEAN),
2003  opBinding.getOperandType(0).isNullable()
2004  || opBinding.getOperandType(1).isNullable()
2005  || opBinding.getOperandType(2).isNullable());
2006  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 2008 of file HeavyDBSqlOperatorTable.java.

2008  {
2009  java.util.List<SqlTypeFamily> st_dwithin_sig =
2010  new java.util.ArrayList<SqlTypeFamily>();
2011  st_dwithin_sig.add(SqlTypeFamily.ANY);
2012  st_dwithin_sig.add(SqlTypeFamily.ANY);
2013  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
2014  return st_dwithin_sig;
2015  }

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