Storage Engine API
mongo::MergeSizeRightTooBig< OnDiskFormat > Class Template Reference
Inheritance diagram for mongo::MergeSizeRightTooBig< OnDiskFormat >:
mongo::MergeSizeJustRightLeft< OnDiskFormat > mongo::MergeSizeTestBase< OnDiskFormat > mongo::BtreeLogicTestBase< OnDiskFormat >

Private Member Functions

virtual int rightSize () const
 
virtual bool merge () 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::MergeSizeTestBase< OnDiskFormat >
 MergeSizeTestBase ()
 
void run ()
 
- Public Member Functions inherited from mongo::BtreeLogicTestBase< OnDiskFormat >
 BtreeLogicTestBase ()
 
virtual ~BtreeLogicTestBase ()
 
- Protected Member Functions inherited from mongo::MergeSizeJustRightLeft< OnDiskFormat >
virtual int leftSize () const
 
virtual const char * delKeys () const
 
- Protected Member Functions inherited from mongo::MergeSizeTestBase< OnDiskFormat >
virtual int leftAdditional () const
 
virtual int rightAdditional () const
 
virtual void initCheck ()
 
virtual void validate ()
 
- 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::MergeSizeTestBase< OnDiskFormat >
static BSONObj bigKey (char a)
 
static BSONObj biggestKey (char a)
 
static int bigSize ()
 
static int biggestSize ()
 
- Protected Attributes inherited from mongo::MergeSizeTestBase< OnDiskFormat >
int _count
 
- Protected Attributes inherited from mongo::BtreeLogicTestBase< OnDiskFormat >
BtreeLogicTestHelper< OnDiskFormat > _helper
 

Member Function Documentation

◆ merge()

template<class OnDiskFormat >
virtual bool mongo::MergeSizeRightTooBig< OnDiskFormat >::merge ( ) const
inlineprivatevirtual

◆ rightSize()

template<class OnDiskFormat >
virtual int mongo::MergeSizeRightTooBig< OnDiskFormat >::rightSize ( ) const
inlineprivatevirtual

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