![]() |
Storage Engine API
|
Public Member Functions | |
void | run () |
virtual string | treeSpec () const =0 |
virtual int | expectedSeparator () const =0 |
virtual void | modTree () |
![]() | |
BtreeLogicTestBase () | |
virtual | ~BtreeLogicTestBase () |
Additional Inherited Members | |
![]() | |
typedef OnDiskFormat ::BucketType | BucketType |
typedef OnDiskFormat ::FixedWidthKeyType | FixedWidthKeyType |
typedef BtreeLogic< OnDiskFormat >::FullKey | FullKey |
typedef BtreeLogic< OnDiskFormat >::KeyDataOwnedType | KeyDataOwnedType |
![]() | |
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... | |
![]() | |
BtreeLogicTestHelper< OnDiskFormat > | _helper |
|
pure virtual |
Implemented in mongo::RebalanceEmptyLeft< OnDiskFormat >, mongo::RebalanceEmptyRight< OnDiskFormat >, mongo::OddRebalanceCenter< OnDiskFormat >, mongo::OddRebalanceRight< OnDiskFormat >, mongo::OddRebalanceLeft< OnDiskFormat >, mongo::EvenRebalanceCenter< OnDiskFormat >, mongo::EvenRebalanceRightCusp< OnDiskFormat >, mongo::EvenRebalanceRight< OnDiskFormat >, mongo::EvenRebalanceLeftCusp< OnDiskFormat >, and mongo::EvenRebalanceLeft< OnDiskFormat >.
|
inlinevirtual |
Reimplemented in mongo::RebalanceEmptyLeft< OnDiskFormat >, and mongo::RebalanceEmptyRight< OnDiskFormat >.
|
inline |
|
pure virtual |
Implemented in mongo::RebalanceEmptyLeft< OnDiskFormat >, mongo::RebalanceEmptyRight< OnDiskFormat >, mongo::OddRebalanceCenter< OnDiskFormat >, mongo::OddRebalanceRight< OnDiskFormat >, mongo::OddRebalanceLeft< OnDiskFormat >, mongo::EvenRebalanceCenter< OnDiskFormat >, mongo::EvenRebalanceRightCusp< OnDiskFormat >, mongo::EvenRebalanceRight< OnDiskFormat >, mongo::EvenRebalanceLeftCusp< OnDiskFormat >, and mongo::EvenRebalanceLeft< OnDiskFormat >.