OmniSciDB  a5dc49c757
 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 1270 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1271 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

1271  {
1272  super("REPEAT",
1273  SqlKind.OTHER_FUNCTION,
1274  null,
1275  null,
1276  OperandTypes.family(getSignatureFamilies()),
1278  }
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 1280 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

1280  {
1281  java.util.ArrayList<SqlTypeFamily> families =
1282  new java.util.ArrayList<SqlTypeFamily>();
1283  families.add(SqlTypeFamily.STRING);
1284  families.add(SqlTypeFamily.INTEGER);
1285  return families;
1286  }
tuple STRING
Definition: dtypes.py:31
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Repeat.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 1289 of file HeavyDBSqlOperatorTable.java.

1289  {
1290  return opBinding.getOperandType(0);
1291  }

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