OmniSciDB  a987f07e93
 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 757 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 758 of file HeavyDBSqlOperatorTable.java.

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

758  {
759  super("PG_ILIKE",
760  SqlKind.OTHER_FUNCTION,
761  null,
762  null,
763  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
764  SqlFunctionCategory.SYSTEM);
765  }
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 767 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

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

767  {
768  java.util.ArrayList<SqlTypeFamily> families =
769  new java.util.ArrayList<SqlTypeFamily>();
770  families.add(SqlTypeFamily.STRING);
771  families.add(SqlTypeFamily.STRING);
772  families.add(SqlTypeFamily.STRING);
773  return families;
774  }
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 790 of file HeavyDBSqlOperatorTable.java.

790  {
791  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
792  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
793  }

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