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

Constructor & Destructor Documentation

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

Definition at line 1829 of file HeavyDBSqlOperatorTable.java.

1829  {
1830  super("TRUNCATE",
1831  SqlKind.OTHER_FUNCTION,
1832  null,
1833  null,
1834  OperandTypes.family(signature()),
1835  SqlFunctionCategory.NUMERIC);
1836  }

Member Function Documentation

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

Definition at line 1839 of file HeavyDBSqlOperatorTable.java.

1839  {
1840  assert opBinding.getOperandCount() == 2;
1841  return opBinding.getOperandType(0);
1842  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Truncate.signature ( )
inlinestaticprivate

Definition at line 1844 of file HeavyDBSqlOperatorTable.java.

1844  {
1845  java.util.List<SqlTypeFamily> truncate_sig =
1846  new java.util.ArrayList<SqlTypeFamily>();
1847  truncate_sig.add(SqlTypeFamily.NUMERIC);
1848  truncate_sig.add(SqlTypeFamily.INTEGER);
1849  return truncate_sig;
1850  }

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