OmniSciDB  e465130ba1
 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 675 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 676 of file MapDSqlOperatorTable.java.

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

676  {
677  super("REGEXP_LIKE",
678  SqlKind.OTHER_FUNCTION,
679  null,
680  null,
681  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
682  SqlFunctionCategory.SYSTEM);
683  }
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 685 of file MapDSqlOperatorTable.java.

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

685  {
686  java.util.ArrayList<SqlTypeFamily> families =
687  new java.util.ArrayList<SqlTypeFamily>();
688  families.add(SqlTypeFamily.STRING);
689  families.add(SqlTypeFamily.STRING);
690  families.add(SqlTypeFamily.STRING);
691  return families;
692  }

+ Here is the caller graph for this function:

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

Definition at line 707 of file MapDSqlOperatorTable.java.

707  {
708  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
709  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
710  }

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