OmniSciDB  bf83d84833
 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 1015 of file MapDSqlOperatorTable.java.

Constructor & Destructor Documentation

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

Definition at line 1016 of file MapDSqlOperatorTable.java.

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

1016  {
1017  super("TRUNCATE",
1018  SqlKind.OTHER_FUNCTION,
1019  null,
1020  null,
1021  OperandTypes.family(signature()),
1022  SqlFunctionCategory.NUMERIC);
1023  }
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 1026 of file MapDSqlOperatorTable.java.

1026  {
1027  assert opBinding.getOperandCount() == 2;
1028  return opBinding.getOperandType(0);
1029  }
static java.util.List<SqlTypeFamily> com.mapd.calcite.parser.MapDSqlOperatorTable.Truncate.signature ( )
inlinestaticprivate

Definition at line 1031 of file MapDSqlOperatorTable.java.

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

1031  {
1032  java.util.List<SqlTypeFamily> truncate_sig =
1033  new java.util.ArrayList<SqlTypeFamily>();
1034  truncate_sig.add(SqlTypeFamily.NUMERIC);
1035  truncate_sig.add(SqlTypeFamily.INTEGER);
1036  return truncate_sig;
1037  }

+ Here is the caller graph for this function:


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