OmniSciDB  a5dc49c757
 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 965 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 966 of file HeavyDBSqlOperatorTable.java.

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

966  {
967  super("PG_ILIKE",
968  SqlKind.OTHER_FUNCTION,
969  null,
970  null,
971  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
972  SqlFunctionCategory.SYSTEM);
973  }
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 975 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

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

975  {
976  java.util.ArrayList<SqlTypeFamily> families =
977  new java.util.ArrayList<SqlTypeFamily>();
978  families.add(SqlTypeFamily.STRING);
979  families.add(SqlTypeFamily.STRING);
980  families.add(SqlTypeFamily.STRING);
981  return families;
982  }
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 998 of file HeavyDBSqlOperatorTable.java.

998  {
999  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
1000  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
1001  }

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