OmniSciDB  085a039ca4
 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 1001 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1002 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

1002  {
1003  super("REPEAT",
1004  SqlKind.OTHER_FUNCTION,
1005  null,
1006  null,
1007  OperandTypes.family(getSignatureFamilies()),
1009  }
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 1011 of file HeavyDBSqlOperatorTable.java.

References heavydb.dtypes.STRING.

1011  {
1012  java.util.ArrayList<SqlTypeFamily> families =
1013  new java.util.ArrayList<SqlTypeFamily>();
1014  families.add(SqlTypeFamily.STRING);
1015  families.add(SqlTypeFamily.INTEGER);
1016  return families;
1017  }
tuple STRING
Definition: dtypes.py:31
RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Repeat.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 1020 of file HeavyDBSqlOperatorTable.java.

1020  {
1021  return opBinding.getOperandType(0);
1022  }

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