Storage Engine API
mongo::NoMoveAtLowWaterMarkRight< OnDiskFormat > Class Template Reference
Inheritance diagram for mongo::NoMoveAtLowWaterMarkRight< OnDiskFormat >:
mongo::MergeSizeJustRightRight< OnDiskFormat > mongo::MergeSizeTestBase< OnDiskFormat > mongo::BtreeLogicTestBase< OnDiskFormat > mongo::MoveBelowLowWaterMarkRight< OnDiskFormat >

Protected Attributes

BSONObj _oldTop
 
- Protected Attributes inherited from mongo::MergeSizeTestBase< OnDiskFormat >
int _count
 
- Protected Attributes inherited from mongo::BtreeLogicTestBase< OnDiskFormat >
BtreeLogicTestHelper< OnDiskFormat > _helper
 

Private Member Functions

virtual int rightSize () const
 
virtual void initCheck ()
 
virtual void validate ()
 
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::MergeSizeJustRightRight< OnDiskFormat >
virtual int leftSize () const
 
- Protected Member Functions inherited from mongo::MergeSizeTestBase< OnDiskFormat >
virtual int leftAdditional () const
 
virtual int rightAdditional () const
 
virtual const char * delKeys () const
 
- 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 ()
 

Member Function Documentation

◆ initCheck()

template<class OnDiskFormat >
virtual void mongo::NoMoveAtLowWaterMarkRight< OnDiskFormat >::initCheck ( )
inlineprivatevirtual

◆ merge()

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

◆ rightSize()

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

◆ validate()

template<class OnDiskFormat >
virtual void mongo::NoMoveAtLowWaterMarkRight< OnDiskFormat >::validate ( )
inlineprivatevirtual

Member Data Documentation

◆ _oldTop

template<class OnDiskFormat >
BSONObj mongo::NoMoveAtLowWaterMarkRight< OnDiskFormat >::_oldTop
protected

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