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

Classes

class  EscapeOptional
 

Public Member Functions

 PgILike ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 714 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgILike.PgILike ( )
inline

Definition at line 715 of file HeavyDBSqlOperatorTable.java.

References com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgILike.getSignatureFamilies().

715  {
716  super("PG_ILIKE",
717  SqlKind.OTHER_FUNCTION,
718  null,
719  null,
720  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
721  SqlFunctionCategory.SYSTEM);
722  }
static java.util.List< SqlTypeFamily > getSignatureFamilies()

+ Here is the call graph for this function:

Member Function Documentation

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgILike.getSignatureFamilies ( )
inlinestaticprivate

Definition at line 724 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

Referenced by com.mapd.calcite.parser.HeavyDBSqlOperatorTable.PgILike.PgILike().

724  {
725  java.util.ArrayList<SqlTypeFamily> families =
726  new java.util.ArrayList<SqlTypeFamily>();
727  families.add(SqlTypeFamily.STRING);
728  families.add(SqlTypeFamily.STRING);
729  families.add(SqlTypeFamily.STRING);
730  return families;
731  }
tuple STRING
Definition: dtypes.py:31

+ Here is the caller graph for this function:

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

Definition at line 747 of file HeavyDBSqlOperatorTable.java.

747  {
748  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
749  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
750  }

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