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

Public Member Functions

RelDataType inferReturnType (SqlOperatorBinding opBinding)
 

Package Functions

 Truncate ()
 

Static Private Member Functions

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

Detailed Description

Definition at line 1432 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Truncate.Truncate ( )
inlinepackage

Definition at line 1433 of file HeavyDBSqlOperatorTable.java.

1433  {
1434  super("TRUNCATE",
1435  SqlKind.OTHER_FUNCTION,
1436  null,
1437  null,
1438  OperandTypes.family(signature()),
1439  SqlFunctionCategory.NUMERIC);
1440  }

Member Function Documentation

RelDataType com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Truncate.inferReturnType ( SqlOperatorBinding  opBinding)
inline

Definition at line 1443 of file HeavyDBSqlOperatorTable.java.

1443  {
1444  assert opBinding.getOperandCount() == 2;
1445  return opBinding.getOperandType(0);
1446  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Truncate.signature ( )
inlinestaticprivate

Definition at line 1448 of file HeavyDBSqlOperatorTable.java.

1448  {
1449  java.util.List<SqlTypeFamily> truncate_sig =
1450  new java.util.ArrayList<SqlTypeFamily>();
1451  truncate_sig.add(SqlTypeFamily.NUMERIC);
1452  truncate_sig.add(SqlTypeFamily.INTEGER);
1453  return truncate_sig;
1454  }

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