Storage Engine API
mongo::OddRebalanceLeft< OnDiskFormat > Class Template Reference
Inheritance diagram for mongo::OddRebalanceLeft< OnDiskFormat >:
mongo::RebalancedSeparatorBase< OnDiskFormat > mongo::BtreeLogicTestBase< OnDiskFormat >

Private Member Functions

virtual string treeSpec () const
 
virtual int expectedSeparator () const
 

Additional Inherited Members

- Public Types inherited from mongo::BtreeLogicTestBase< OnDiskFormat >
typedef OnDiskFormat ::BucketType BucketType
 
typedef OnDiskFormat ::FixedWidthKeyType FixedWidthKeyType
 
typedef BtreeLogic< OnDiskFormat >::FullKey FullKey
 
typedef BtreeLogic< OnDiskFormat >::KeyDataOwnedType KeyDataOwnedType
 
- Public Member Functions inherited from mongo::RebalancedSeparatorBase< OnDiskFormat >
void run ()
 
virtual void modTree ()
 
- Public Member Functions inherited from mongo::BtreeLogicTestBase< OnDiskFormat >
 BtreeLogicTestBase ()
 
virtual ~BtreeLogicTestBase ()
 
- Protected Member Functions inherited from mongo::BtreeLogicTestBase< OnDiskFormat >
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 BucketTypechild (const BucketType *bucket, int i) const
 
BucketTypehead () 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...
 
- Protected Attributes inherited from mongo::BtreeLogicTestBase< OnDiskFormat >
BtreeLogicTestHelper< OnDiskFormat > _helper
 

Member Function Documentation

◆ expectedSeparator()

template<class OnDiskFormat >
virtual int mongo::OddRebalanceLeft< OnDiskFormat >::expectedSeparator ( ) const
inlineprivatevirtual

◆ treeSpec()

template<class OnDiskFormat >
virtual string mongo::OddRebalanceLeft< OnDiskFormat >::treeSpec ( ) const
inlineprivatevirtual

The documentation for this class was generated from the following file: