OmniSciDB  4201147b46
 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 1226 of file HeavyDBSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1227 of file HeavyDBSqlOperatorTable.java.

1227  {
1228  super("TRUNCATE",
1229  SqlKind.OTHER_FUNCTION,
1230  null,
1231  null,
1232  OperandTypes.family(signature()),
1233  SqlFunctionCategory.NUMERIC);
1234  }

Member Function Documentation

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

Definition at line 1237 of file HeavyDBSqlOperatorTable.java.

1237  {
1238  assert opBinding.getOperandCount() == 2;
1239  return opBinding.getOperandType(0);
1240  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.HeavyDBSqlOperatorTable.Truncate.signature ( )
inlinestaticprivate

Definition at line 1242 of file HeavyDBSqlOperatorTable.java.

1242  {
1243  java.util.List<SqlTypeFamily> truncate_sig =
1244  new java.util.ArrayList<SqlTypeFamily>();
1245  truncate_sig.add(SqlTypeFamily.NUMERIC);
1246  truncate_sig.add(SqlTypeFamily.INTEGER);
1247  return truncate_sig;
1248  }

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