OmniSciDB  95562058bd
 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 794 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 795 of file MapDSqlOperatorTable.java.

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

795  {
796  super("TRUNCATE",
797  SqlKind.OTHER_FUNCTION,
798  null,
799  null,
800  OperandTypes.family(signature()),
801  SqlFunctionCategory.NUMERIC);
802  }
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 805 of file MapDSqlOperatorTable.java.

References assert().

805  {
806  assert opBinding.getOperandCount() == 2;
807  return opBinding.getOperandType(0);
808  }
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 810 of file MapDSqlOperatorTable.java.

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

810  {
811  java.util.List<SqlTypeFamily> truncate_sig =
812  new java.util.ArrayList<SqlTypeFamily>();
813  truncate_sig.add(SqlTypeFamily.NUMERIC);
814  truncate_sig.add(SqlTypeFamily.INTEGER);
815  return truncate_sig;
816  }

+ Here is the caller graph for this function:


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