OmniSciDB  e465130ba1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.calcite.parser.MapDSqlOperatorTable.Truncate Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.Truncate:
+ Collaboration diagram for com.mapd.calcite.parser.MapDSqlOperatorTable.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 761 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 762 of file MapDSqlOperatorTable.java.

References com.mapd.calcite.parser.MapDSqlOperatorTable.Truncate.signature().

762  {
763  super("TRUNCATE",
764  SqlKind.OTHER_FUNCTION,
765  null,
766  null,
767  OperandTypes.family(signature()),
768  SqlFunctionCategory.NUMERIC);
769  }
static java.util.List< SqlTypeFamily > signature()

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 772 of file MapDSqlOperatorTable.java.

References assert().

772  {
773  assert opBinding.getOperandCount() == 2;
774  return opBinding.getOperandType(0);
775  }
int64_t const int32_t sz assert(dest)

+ Here is the call graph for this function:

static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.Truncate.signature ( )
inlinestaticprivate

Definition at line 777 of file MapDSqlOperatorTable.java.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.Truncate.Truncate().

777  {
778  java.util.List<SqlTypeFamily> truncate_sig =
779  new java.util.ArrayList<SqlTypeFamily>();
780  truncate_sig.add(SqlTypeFamily.NUMERIC);
781  truncate_sig.add(SqlTypeFamily.INTEGER);
782  return truncate_sig;
783  }

+ Here is the caller graph for this function:


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