OmniSciDB  b24e664e58
 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 646 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 647 of file MapDSqlOperatorTable.java.

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

647  {
648  super("REGEXP_LIKE",
649  SqlKind.OTHER_FUNCTION,
650  null,
651  null,
652  OperandTypes.family(getSignatureFamilies(), new EscapeOptional()),
653  SqlFunctionCategory.SYSTEM);
654  }
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 656 of file MapDSqlOperatorTable.java.

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

656  {
657  java.util.ArrayList<SqlTypeFamily> families =
658  new java.util.ArrayList<SqlTypeFamily>();
659  families.add(SqlTypeFamily.STRING);
660  families.add(SqlTypeFamily.STRING);
661  families.add(SqlTypeFamily.STRING);
662  return families;
663  }

+ Here is the caller graph for this function:

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

Definition at line 678 of file MapDSqlOperatorTable.java.

678  {
679  final RelDataTypeFactory typeFactory = opBinding.getTypeFactory();
680  return typeFactory.createSqlType(SqlTypeName.BOOLEAN);
681  }

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