OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 694 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 695 of file MapDSqlOperatorTable.java.

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

695  {
696  super("REGEXP_LIKE",
697  SqlKind.OTHER_FUNCTION,
698  null,
699  null,
700  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
701  SqlFunctionCategory.SYSTEM);
702  }
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 704 of file MapDSqlOperatorTable.java.

References STRING.

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

704  {
705  java.util.ArrayList<SqlTypeFamily> families =
706  new java.util.ArrayList<SqlTypeFamily>();
707  families.add(SqlTypeFamily.STRING);
708  families.add(SqlTypeFamily.STRING);
709  families.add(SqlTypeFamily.STRING);
710  return families;
711  }
#define STRING

+ Here is the caller graph for this function:

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

Definition at line 726 of file MapDSqlOperatorTable.java.

References BOOLEAN.

726  {
727  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
728  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
729  }
#define BOOLEAN

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