Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::DecimalFunctions Class Reference

#include <decimal-functions.h>

Collaboration diagram for impala::DecimalFunctions:

Static Public Member Functions

static IntVal Precision (FunctionContext *context, const DecimalVal &val)
 
static IntVal Scale (FunctionContext *context, const DecimalVal &val)
 
static DecimalVal Abs (FunctionContext *context, const DecimalVal &val)
 
static DecimalVal Ceil (FunctionContext *context, const DecimalVal &val)
 
static DecimalVal Floor (FunctionContext *context, const DecimalVal &val)
 
static DecimalVal Round (FunctionContext *context, const DecimalVal &val)
 
static DecimalVal RoundTo (FunctionContext *context, const DecimalVal &val, const SmallIntVal &scale)
 
static DecimalVal RoundTo (FunctionContext *context, const DecimalVal &val, const TinyIntVal &scale)
 
static DecimalVal RoundTo (FunctionContext *context, const DecimalVal &val, const IntVal &scale)
 
static DecimalVal RoundTo (FunctionContext *context, const DecimalVal &val, const BigIntVal &scale)
 
static DecimalVal Truncate (FunctionContext *context, const DecimalVal &val)
 
static DecimalVal TruncateTo (FunctionContext *context, const DecimalVal &val, const SmallIntVal &scale)
 
static DecimalVal TruncateTo (FunctionContext *context, const DecimalVal &val, const TinyIntVal &scale)
 
static DecimalVal TruncateTo (FunctionContext *context, const DecimalVal &val, const IntVal &scale)
 
static DecimalVal TruncateTo (FunctionContext *context, const DecimalVal &val, const BigIntVal &scale)
 

Static Private Member Functions

static DecimalVal RoundTo (FunctionContext *context, const DecimalVal &val, int scale, DecimalOperators::DecimalRoundOp op)
 Implementation of RoundTo. More...
 

Detailed Description

Definition at line 29 of file decimal-functions.h.

Member Function Documentation

DecimalVal impala::DecimalFunctions::Ceil ( FunctionContext context,
const DecimalVal val 
)
static
DecimalVal impala::DecimalFunctions::Floor ( FunctionContext context,
const DecimalVal val 
)
static
IntVal impala::DecimalFunctions::Precision ( FunctionContext context,
const DecimalVal val 
)
static
DecimalVal impala::DecimalFunctions::Round ( FunctionContext context,
const DecimalVal val 
)
static
DecimalVal impala::DecimalFunctions::RoundTo ( FunctionContext context,
const DecimalVal val,
const SmallIntVal scale 
)
static
DecimalVal impala::DecimalFunctions::RoundTo ( FunctionContext context,
const DecimalVal val,
const TinyIntVal scale 
)
static
DecimalVal impala::DecimalFunctions::RoundTo ( FunctionContext context,
const DecimalVal val,
const IntVal scale 
)
static
DecimalVal impala::DecimalFunctions::RoundTo ( FunctionContext context,
const DecimalVal val,
const BigIntVal scale 
)
static
IntVal impala::DecimalFunctions::Scale ( FunctionContext context,
const DecimalVal val 
)
static
DecimalVal impala::DecimalFunctions::Truncate ( FunctionContext context,
const DecimalVal val 
)
static
DecimalVal impala::DecimalFunctions::TruncateTo ( FunctionContext context,
const DecimalVal val,
const SmallIntVal scale 
)
static
DecimalVal impala::DecimalFunctions::TruncateTo ( FunctionContext context,
const DecimalVal val,
const TinyIntVal scale 
)
static
DecimalVal impala::DecimalFunctions::TruncateTo ( FunctionContext context,
const DecimalVal val,
const IntVal scale 
)
static
DecimalVal impala::DecimalFunctions::TruncateTo ( FunctionContext context,
const DecimalVal val,
const BigIntVal scale 
)
static

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