Storage Engine API
mongo::SplitLeftHeavyBucket< OnDiskFormat > Class Template Reference
Inheritance diagram for mongo::SplitLeftHeavyBucket< OnDiskFormat >:
mongo::SplitUnevenBucketBase< OnDiskFormat > mongo::BtreeLogicTestBase< OnDiskFormat >

Private Member Functions

virtual char shortToken (int i) const
 
virtual char longToken (int i) const
 
virtual void checkSplit ()
 

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::SplitUnevenBucketBase< OnDiskFormat >
void run ()
 
- 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...
 
- Static Protected Member Functions inherited from mongo::SplitUnevenBucketBase< OnDiskFormat >
static char leftToken (int i)
 
static char rightToken (int i)
 
- Protected Attributes inherited from mongo::BtreeLogicTestBase< OnDiskFormat >
BtreeLogicTestHelper< OnDiskFormat > _helper
 

Member Function Documentation

◆ checkSplit()

template<class OnDiskFormat >
virtual void mongo::SplitLeftHeavyBucket< OnDiskFormat >::checkSplit ( )
inlineprivatevirtual

◆ longToken()

template<class OnDiskFormat >
virtual char mongo::SplitLeftHeavyBucket< OnDiskFormat >::longToken ( int  i) const
inlineprivatevirtual

◆ shortToken()

template<class OnDiskFormat >
virtual char mongo::SplitLeftHeavyBucket< OnDiskFormat >::shortToken ( int  i) const
inlineprivatevirtual

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