LcsBatchDir Struct Reference

Batch directory representing each batch within a cluster. More...

#include <LcsClusterNode.h>

List of all members.

Public Attributes

LcsBatchMode mode
 Type of batch: compressed - only distinct values are stored for the column fixed - values are stored as fixed size records variable - records are stored as variable sizes but duplicates are not removed.
uint nRow
 Number of rows in the batch.
uint nVal
 Number of values in the batch.
uint nValHighMark
 Number of values in the column corresponding to the batch that have already been written into the cluster page.
uint oVal
 Offset in the cluster page where the batch starts.
uint oLastValHighMark
 Offset in the cluster page corresponding to the last value for this batch that has already been written into the cluster page.
uint recSize
 Size of batch records in fixed mode case.


Detailed Description

Batch directory representing each batch within a cluster.

Definition at line 42 of file LcsClusterNode.h.


Member Data Documentation

LcsBatchMode LcsBatchDir::mode

Type of batch: compressed - only distinct values are stored for the column fixed - values are stored as fixed size records variable - records are stored as variable sizes but duplicates are not removed.

Definition at line 52 of file LcsClusterNode.h.

uint LcsBatchDir::nRow

Number of rows in the batch.

Definition at line 57 of file LcsClusterNode.h.

Referenced by LcsClusterNodeWriter::describeLastBatch(), LcsClusterDump::dump(), LcsClusterReader::getRangeSize(), LcsClusterNodeWriter::moveFromIndexToTemp(), LcsClusterNodeWriter::moveFromTempToIndex(), LcsClusterReader::positionInBlock(), LcsClusterReader::setUpBlock(), and LcsColumnReader::sync().

uint LcsBatchDir::nVal

Number of values in the batch.

In the case of compressed mode, this is the number of distinct values. In the other cases, it equals nRows.

Definition at line 64 of file LcsClusterNode.h.

Referenced by LcsClusterDump::dump(), LcsClusterNodeWriter::moveFromIndexToTemp(), LcsClusterNodeWriter::moveFromTempToIndex(), and LcsColumnReader::sync().

uint LcsBatchDir::nValHighMark

Number of values in the column corresponding to the batch that have already been written into the cluster page.

Definition at line 70 of file LcsClusterNode.h.

uint LcsBatchDir::oVal

Offset in the cluster page where the batch starts.

Contents of the batch are the following for each mode: compressed - offsets to the values followed by bit vectors variable - offsets to the values at the bottom of the page fixed - records themselves

Definition at line 79 of file LcsClusterNode.h.

Referenced by LcsClusterDump::dump(), LcsClusterNodeWriter::moveFromIndexToTemp(), LcsClusterNodeWriter::moveFromTempToIndex(), and LcsColumnReader::sync().

uint LcsBatchDir::oLastValHighMark

Offset in the cluster page corresponding to the last value for this batch that has already been written into the cluster page.

Definition at line 85 of file LcsClusterNode.h.

uint LcsBatchDir::recSize

Size of batch records in fixed mode case.

Definition at line 90 of file LcsClusterNode.h.

Referenced by LcsClusterNodeWriter::describeLastBatch(), LcsClusterDump::dump(), LcsColumnReader::getFixedValue(), LcsClusterNodeWriter::moveFromIndexToTemp(), and LcsClusterNodeWriter::moveFromTempToIndex().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 22 04:00:36 2009 for Fennel by  doxygen 1.5.1