OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.RegexpLike Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.RegexpLike:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.RegexpLike:

Classes

class  EscapeOptional
 

Public Member Functions

 RegexpLike ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 728 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 729 of file MapDSqlOperatorTable.java.

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

729  {
730  super("REGEXP_LIKE",
731  SqlKind.OTHER_FUNCTION,
732  null,
733  null,
734  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
735  SqlFunctionCategory.SYSTEM);
736  }
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.RegexpLike.getSignatureFamilies ( )
inlinestaticprivate

Definition at line 738 of file MapDSqlOperatorTable.java.

References STRING.

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

738  {
739  java.util.ArrayList<SqlTypeFamily> families =
740  new java.util.ArrayList<SqlTypeFamily>();
741  families.add(SqlTypeFamily.STRING);
742  families.add(SqlTypeFamily.STRING);
743  families.add(SqlTypeFamily.STRING);
744  return families;
745  }
#define STRING

+ Here is the caller graph for this function:

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

Definition at line 760 of file MapDSqlOperatorTable.java.

References BOOLEAN.

760  {
761  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
762  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
763  }
#define BOOLEAN

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