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

Public Member Functions

 Repeat ()
 
RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Static Private Member Functions

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

Detailed Description

Definition at line 1062 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Repeat.Repeat ( )
inline

Definition at line 1063 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

1063  {
1064  super("REPEAT",
1065  SqlKind.OTHER_FUNCTION,
1066  null,
1067  null,
1068  OperandTypes.family(getSignatureFamilies()),
1070  }
tuple STRING
Definition: dtypes.py:31
static java.util.List< SqlTypeFamily > getSignatureFamilies()

Member Function Documentation

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Repeat.getSignatureFamilies ( )
inlinestaticprivate

Definition at line 1072 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

1072  {
1073  java.util.ArrayList<SqlTypeFamily> families =
1074  new java.util.ArrayList<SqlTypeFamily>();
1075  families.add(SqlTypeFamily.STRING);
1076  families.add(SqlTypeFamily.INTEGER);
1077  return families;
1078  }
tuple STRING
Definition: dtypes.py:31
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Repeat.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 1081 of file HeavyDBSqlOperatorTable.java.

1081  {
1082  return opBinding.getOperandType(0);
1083  }

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