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

Constructor & Destructor Documentation

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

Definition at line 1713 of file HeavyDBSqlOperatorTable.java.

1713  {
1714  super("ST_IsEmpty",
1715  SqlKind.OTHER_FUNCTION,
1716  null,
1717  null,
1718  OperandTypes.family(signature()),
1719  SqlFunctionCategory.SYSTEM);
1720  }

Member Function Documentation

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

Definition at line 1723 of file HeavyDBSqlOperatorTable.java.

1723  {
1724  assert opBinding.getOperandCount() == 1;
1725  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1726  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
1727  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.ST_IsEmpty.signature ( )
inlinestaticprivate

Definition at line 1729 of file HeavyDBSqlOperatorTable.java.

1729  {
1730  java.util.List<SqlTypeFamily> st_isempty_sig =
1731  new java.util.ArrayList<SqlTypeFamily>();
1732  st_isempty_sig.add(SqlTypeFamily.ANY);
1733  return st_isempty_sig;
1734  }

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