![]() |
Storage Engine API
|
Public Member Functions | |
MergeSizeTestBase () | |
void | run () |
![]() | |
BtreeLogicTestBase () | |
virtual | ~BtreeLogicTestBase () |
Protected Member Functions | |
virtual int | leftAdditional () const |
virtual int | rightAdditional () const |
virtual void | initCheck () |
virtual void | validate () |
virtual int | leftSize () const =0 |
virtual int | rightSize () const =0 |
virtual const char * | delKeys () const |
virtual bool | merge () const |
![]() | |
void | checkValidNumKeys (int nKeys) |
Status | insert (const BSONObj &key, const DiskLoc dl, bool dupsAllowed=true) |
bool | unindex (const BSONObj &key) |
void | locate (const BSONObj &key, int expectedPos, bool expectedFound, const RecordId &expectedLocation, int direction) |
void | locate (const BSONObj &key, int expectedPos, bool expectedFound, const DiskLoc &expectedLocation, int direction) |
const BucketType * | child (const BucketType *bucket, int i) const |
BucketType * | head () const |
void | forcePackBucket (const RecordId bucketLoc) |
void | truncateBucket (BucketType *bucket, int N, int &refPos) |
int | bucketPackedDataSize (BucketType *bucket, int refPos) |
int | bucketRebalancedSeparatorPos (const RecordId bucketLoc, int leftIndex) |
FullKey | getKey (const RecordId bucketLoc, int pos) const |
void | markKeyUnused (const DiskLoc bucketLoc, int keyPos) |
DiskLoc | newBucket () |
void | setBucketNextChild (const DiskLoc bucketLoc, const DiskLoc nextChild) |
Sets the nextChild pointer for the bucket at the specified location. More... | |
Static Protected Member Functions | |
static BSONObj | bigKey (char a) |
static BSONObj | biggestKey (char a) |
static int | bigSize () |
static int | biggestSize () |
Protected Attributes | |
int | _count |
![]() | |
BtreeLogicTestHelper< OnDiskFormat > | _helper |
Additional Inherited Members | |
![]() | |
typedef OnDiskFormat ::BucketType | BucketType |
typedef OnDiskFormat ::FixedWidthKeyType | FixedWidthKeyType |
typedef BtreeLogic< OnDiskFormat >::FullKey | FullKey |
typedef BtreeLogic< OnDiskFormat >::KeyDataOwnedType | KeyDataOwnedType |
|
inline |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
protectedpure virtual |
Implemented in mongo::MoveBelowLowWaterMarkLeft< OnDiskFormat >, mongo::NoMoveAtLowWaterMarkLeft< OnDiskFormat >, mongo::MoveBelowLowWaterMarkRight< OnDiskFormat >, mongo::BalanceRightEmpty< OnDiskFormat >, mongo::MergeMinLeftEmpty< OnDiskFormat >, mongo::MergeLeftEmpty< OnDiskFormat >, mongo::MergeMinRightEmpty< OnDiskFormat >, mongo::MergeRightEmpty< OnDiskFormat >, mongo::MergeSizeLeftTooBig< OnDiskFormat >, mongo::NoMergeBelowMarkLeft< OnDiskFormat >, mongo::NoMergeBelowMarkRight< OnDiskFormat >, mongo::MergeSizeLeft< OnDiskFormat >, mongo::MergeSizeRight< OnDiskFormat >, mongo::MergeSizeJustRightLeft< OnDiskFormat >, and mongo::MergeSizeJustRightRight< OnDiskFormat >.
|
inlineprotectedvirtual |
Reimplemented in mongo::NoMoveAtLowWaterMarkLeft< OnDiskFormat >, mongo::NoMoveAtLowWaterMarkRight< OnDiskFormat >, mongo::BalanceLeftEmpty< OnDiskFormat >, mongo::BalanceRightEmpty< OnDiskFormat >, mongo::MergeSizeLeftTooBig< OnDiskFormat >, mongo::MergeSizeRightTooBig< OnDiskFormat >, mongo::NoMergeBelowMarkLeft< OnDiskFormat >, and mongo::NoMergeBelowMarkRight< OnDiskFormat >.
|
inlineprotectedvirtual |
|
protectedpure virtual |
Implemented in mongo::MoveBelowLowWaterMarkLeft< OnDiskFormat >, mongo::MoveBelowLowWaterMarkRight< OnDiskFormat >, mongo::NoMoveAtLowWaterMarkRight< OnDiskFormat >, mongo::BalanceLeftEmpty< OnDiskFormat >, mongo::MergeMinLeftEmpty< OnDiskFormat >, mongo::MergeLeftEmpty< OnDiskFormat >, mongo::MergeMinRightEmpty< OnDiskFormat >, mongo::MergeRightEmpty< OnDiskFormat >, mongo::MergeSizeRightTooBig< OnDiskFormat >, mongo::NoMergeBelowMarkLeft< OnDiskFormat >, mongo::NoMergeBelowMarkRight< OnDiskFormat >, mongo::MergeSizeLeft< OnDiskFormat >, mongo::MergeSizeRight< OnDiskFormat >, mongo::MergeSizeJustRightLeft< OnDiskFormat >, and mongo::MergeSizeJustRightRight< OnDiskFormat >.
|
inline |
|
inlineprotectedvirtual |
Reimplemented in mongo::MoveBelowLowWaterMarkLeft< OnDiskFormat >, mongo::NoMoveAtLowWaterMarkLeft< OnDiskFormat >, mongo::MoveBelowLowWaterMarkRight< OnDiskFormat >, mongo::NoMoveAtLowWaterMarkRight< OnDiskFormat >, mongo::BalanceLeftEmpty< OnDiskFormat >, and mongo::BalanceRightEmpty< OnDiskFormat >.
|
protected |