OmniSciDB  c07336695a
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 856 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

◆ ST_DFullyWithin()

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

Definition at line 857 of file MapDSqlOperatorTable.java.

857  {
858  super("ST_DFullyWithin",
859  SqlKind.OTHER_FUNCTION,
860  null,
861  null,
862  OperandTypes.family(signature()),
863  SqlFunctionCategory.SYSTEM);
864  }

Member Function Documentation

◆ inferReturnType()

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

Definition at line 867 of file MapDSqlOperatorTable.java.

867  {
868  assert opBinding.getOperandCount() == 3;
869  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
870  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
871  }

◆ signature()

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin.signature ( )
inlinestaticprivate

Definition at line 873 of file MapDSqlOperatorTable.java.

873  {
874  java.util.List<SqlTypeFamily> st_dwithin_sig =
875  new java.util.ArrayList<SqlTypeFamily>();
876  st_dwithin_sig.add(SqlTypeFamily.ANY);
877  st_dwithin_sig.add(SqlTypeFamily.ANY);
878  st_dwithin_sig.add(SqlTypeFamily.NUMERIC);
879  return st_dwithin_sig;
880  }

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