C++ SDK Documentation  11.0.0
Vertica::VNumericTemp< Alloc > Class Template Reference
Inheritance diagram for Vertica::VNumericTemp< Alloc >:
Inheritance graph
Collaboration diagram for Vertica::VNumericTemp< Alloc >:
Collaboration graph

Public Member Functions

 VNumericTemp (int32 precision, int32 scale, const Alloc &alloc=Alloc())
 
 VNumericTemp (Typemod typmod, const Alloc &alloc=Alloc())
 
 VNumericTemp (int32 attr, const Alloc &alloc=Alloc())
 
 VNumericTemp (VNumericTemp &&from)
 
VNumericTempoperator*= (const VNumeric &other)
 
VNumericTempoperator+= (const VNumeric &other)
 
VNumericTempoperator-= (const VNumeric &other)
 
VNumericTempoperator/= (const VNumeric &other)
 
VNumericTempoperator<<= (unsigned shift)
 
VNumericTempoperator= (const VNumericTemp &other)
 
VNumericTempoperator= (const VNumeric &other)
 
VNumericTempoperator>>= (unsigned shift)
 

Static Public Member Functions

static int32 getCoveringTypeMod (int32 attra, int32 attrb)
 

Detailed Description

template<class Alloc = std::allocator<uint64>>
class Vertica::VNumericTemp< Alloc >

Represents an intermediate result in an arithmetic expression of VNumerics

Member Function Documentation

template<class Alloc = std::allocator<uint64>>
static int32 Vertica::VNumericTemp< Alloc >::getCoveringTypeMod ( int32  attra,
int32  attrb 
)
inlinestatic
Returns
the typmod needed for a result of adding/subtracting numeric values with typmods a and b respectively