LcsClusterNode.h File Reference

Go to the source code of this file.

Classes

struct  LcsBatchDir
 Batch directory representing each batch within a cluster. More...
struct  LcsClusterNode
 Header stored on each page of a cluster. More...

Typedefs

typedef LcsBatchDirPLcsBatchDir
typedef LcsClusterNodePLcsClusterNode
typedef const LcsClusterNodePConstLcsClusterNode
typedef SegNodeLock< LcsClusterNodeClusterPageLock

Enumerations

enum  LcsBatchMode { LCS_COMPRESSED, LCS_FIXED, LCS_VARIABLE }

Functions

FENNEL_BEGIN_NAMESPACE DEFINE_OPAQUE_INTEGER (LcsRid, uint64_t)
 Column store rid type.
uint getClusterSubHeaderSize (uint nColumns)
 Returns size of the header at the start of the cluster page, taking into account the variable length elements that are dependent on the number of columns in the cluster.


Typedef Documentation

typedef SegNodeLock<LcsClusterNode> ClusterPageLock

Definition at line 140 of file LcsClusterNode.h.

typedef const LcsClusterNode* PConstLcsClusterNode

Definition at line 139 of file LcsClusterNode.h.

typedef LcsBatchDir* PLcsBatchDir

Definition at line 93 of file LcsClusterNode.h.

typedef LcsClusterNode* PLcsClusterNode

Definition at line 138 of file LcsClusterNode.h.


Enumeration Type Documentation

enum LcsBatchMode

Enumerator:
LCS_COMPRESSED 
LCS_FIXED 
LCS_VARIABLE 

Definition at line 37 of file LcsClusterNode.h.


Function Documentation

FENNEL_BEGIN_NAMESPACE DEFINE_OPAQUE_INTEGER ( LcsRid  ,
uint64_t   
)

Column store rid type.

uint getClusterSubHeaderSize ( uint  nColumns  )  [inline]

Returns size of the header at the start of the cluster page, taking into account the variable length elements that are dependent on the number of columns in the cluster.

Definition at line 132 of file LcsClusterNode.h.

Referenced by LcsClusterNodeWriter::init().

00133 {
00134     return sizeof(LcsClusterNode) + (3 * sizeof(uint16_t *) * nColumns) +
00135         sizeof(uint) * nColumns;
00136 }


Generated on Mon Jun 22 04:00:23 2009 for Fennel by  doxygen 1.5.1