OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 607 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 608 of file MapDSqlOperatorTable.java.

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

608  {
609  super("PG_ILIKE",
610  SqlKind.OTHER_FUNCTION,
611  null,
612  null,
613  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
614  SqlFunctionCategory.SYSTEM);
615  }
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.MapDSqlOperatorTable.PgILike.getSignatureFamilies ( )
inlinestaticprivate

Definition at line 617 of file MapDSqlOperatorTable.java.

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

617  {
618  java.util.ArrayList<SqlTypeFamily> families =
619  new java.util.ArrayList<SqlTypeFamily>();
620  families.add(SqlTypeFamily.STRING);
621  families.add(SqlTypeFamily.STRING);
622  families.add(SqlTypeFamily.STRING);
623  return families;
624  }

+ Here is the caller graph for this function:

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

Definition at line 640 of file MapDSqlOperatorTable.java.

640  {
641  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
642  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
643  }

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