OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.ST_IsEmpty Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_IsEmpty:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.ST_IsEmpty:

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 ST_IsEmpty ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 805 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 806 of file MapDSqlOperatorTable.java.

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

806  {
807  super("ST_IsEmpty",
808  SqlKind.OTHER_FUNCTION,
809  null,
810  null,
811  OperandTypes.family(signature()),
812  SqlFunctionCategory.SYSTEM);
813  }

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 816 of file MapDSqlOperatorTable.java.

References BOOLEAN.

816  {
817  assert opBinding.getOperandCount() == 1;
818  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
819  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
820  }
#define BOOLEAN
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.ST_IsEmpty.signature ( )
inlinestaticprivate

Definition at line 822 of file MapDSqlOperatorTable.java.

References ANY.

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

822  {
823  java.util.List<SqlTypeFamily> st_isempty_sig =
824  new java.util.ArrayList<SqlTypeFamily>();
825  st_isempty_sig.add(SqlTypeFamily.ANY);
826  return st_isempty_sig;
827  }
#define ANY

+ Here is the caller graph for this function:


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