class
org.apache.hadoop.hbase.regionserver.CellArrayImmutableSegment
CellArrayImmutableSegment extends the API supported by a Segment
, and
ImmutableSegment
.
class
org.apache.hadoop.hbase.regionserver.CellChunkImmutableSegment
CellChunkImmutableSegment extends the API supported by a Segment
, and
ImmutableSegment
.
class
org.apache.hadoop.hbase.regionserver.CompositeImmutableSegment
The CompositeImmutableSegments is created as a collection of ImmutableSegments and supports the
interface of a single ImmutableSegments.
class
org.apache.hadoop.hbase.regionserver.CSLMImmutableSegment
CSLMImmutableSegment is an abstract class that extends the API supported by a Segment
,
and ImmutableSegment
.
class
org.apache.hadoop.hbase.regionserver.ImmutableSegment
ImmutableSegment is an abstract class that extends the API supported by a Segment
, and is
not needed for a MutableSegment
.
class
org.apache.hadoop.hbase.regionserver.MutableSegment
A mutable segment in memstore, specifically the active segment.
class
org.apache.hadoop.hbase.regionserver.Segment
This is an abstraction of a segment maintained in a memstore, e.g., the active cell set or its
snapshot.
void
AbstractMemStore.add(Iterable<org.apache.hadoop.hbase.ExtendedCell> cells,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
void
AbstractMemStore.add(org.apache.hadoop.hbase.ExtendedCell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
void
HStore.add(Iterable<org.apache.hadoop.hbase.ExtendedCell> cells,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
Adds the specified value to the memstore
void
HStore.add(org.apache.hadoop.hbase.ExtendedCell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
Adds a value to the memstore
void
MemStore.add(Iterable<org.apache.hadoop.hbase.ExtendedCell> cells,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
void
MemStore.add(org.apache.hadoop.hbase.ExtendedCell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
void
MutableSegment.add(org.apache.hadoop.hbase.ExtendedCell cell,
boolean mslabUsed,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memStoreSizing,
boolean sizeAddedPreOperation)
Adds the given cell into the segment
protected boolean
CompactingMemStore.checkAndAddToActiveSize(org.apache.hadoop.hbase.regionserver.MutableSegment currActive,
org.apache.hadoop.hbase.Cell cellToAdd,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
Check whether anything need to be done based on the current active set size.
org.apache.hadoop.hbase.regionserver.ImmutableSegment
SegmentFactory.createImmutableSegment(org.apache.hadoop.hbase.regionserver.MutableSegment segment,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
org.apache.hadoop.hbase.regionserver.ImmutableSegment
SegmentFactory.createImmutableSegmentByFlattening(org.apache.hadoop.hbase.regionserver.CSLMImmutableSegment segment,
org.apache.hadoop.hbase.regionserver.CompactingMemStore.IndexType idxType,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing,
org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy.Action action)
org.apache.hadoop.hbase.regionserver.MutableSegment
SegmentFactory.createMutableSegment(org.apache.hadoop.conf.Configuration conf,
CellComparator comparator,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
protected void
AbstractMemStore.doAdd(org.apache.hadoop.hbase.regionserver.MutableSegment currentActive,
org.apache.hadoop.hbase.ExtendedCell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
protected void
CompositeImmutableSegment.internalAdd(org.apache.hadoop.hbase.ExtendedCell cell,
boolean mslabUsed,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing,
boolean sizeAddedPreOperation)
protected void
Segment.internalAdd(org.apache.hadoop.hbase.ExtendedCell cell,
boolean mslabUsed,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing,
boolean sizeAddedPreOperation)
protected abstract boolean
AbstractMemStore.preUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment currentActive,
org.apache.hadoop.hbase.ExtendedCell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
Issue any synchronization and test needed before applying the update
protected boolean
CompactingMemStore.preUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment currentActive,
org.apache.hadoop.hbase.ExtendedCell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
Issue any synchronization and test needed before applying the update For compacting memstore
this means checking the update can increase the size without overflow
protected boolean
DefaultMemStore.preUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment currentActive,
org.apache.hadoop.hbase.ExtendedCell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
protected void
HRegion.restoreEdit(org.apache.hadoop.hbase.regionserver.HStore s,
org.apache.hadoop.hbase.ExtendedCell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreAccounting)
protected void
CompositeImmutableSegment.updateMetaInfo(org.apache.hadoop.hbase.ExtendedCell cellToAdd,
boolean succ,
boolean mslabUsed,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing,
boolean sizeAddedPreOperation)
protected void
Segment.updateMetaInfo(org.apache.hadoop.hbase.ExtendedCell cellToAdd,
boolean succ,
boolean mslabUsed,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing,
boolean sizeAddedPreOperation)
protected void
Segment.updateMetaInfo(org.apache.hadoop.hbase.ExtendedCell cellToAdd,
boolean succ,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
void
AbstractMemStore.upsert(Iterable<org.apache.hadoop.hbase.ExtendedCell> cells,
long readpoint,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
void
HStore.upsert(Iterable<org.apache.hadoop.hbase.ExtendedCell> cells,
long readpoint,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
Adds or replaces the specified KeyValues.
void
MemStore.upsert(Iterable<org.apache.hadoop.hbase.ExtendedCell> cells,
long readpoint,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
Update or insert the specified cells.
void
MutableSegment.upsert(org.apache.hadoop.hbase.ExtendedCell cell,
long readpoint,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memStoreSizing,
boolean sizeAddedPreOperation)
protected
CellArrayImmutableSegment(org.apache.hadoop.hbase.regionserver.CSLMImmutableSegment segment,
org.apache.hadoop.hbase.regionserver.MemStoreSizing mss,
org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy.Action action)
------------------------------------------------------------------------ C-tor to be used when
new CellChunkImmutableSegment is built as a result of flattening of CSLMImmutableSegment The
given iterator returns the Cells that "survived" the compaction.
protected
CellChunkImmutableSegment(org.apache.hadoop.hbase.regionserver.CSLMImmutableSegment segment,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing,
org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy.Action action)
------------------------------------------------------------------------ C-tor to be used when
new CellChunkImmutableSegment is built as a result of flattening of CSLMImmutableSegment The
given iterator returns the Cells that "survived" the compaction.
protected
CSLMImmutableSegment(org.apache.hadoop.hbase.regionserver.Segment segment,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
------------------------------------------------------------------------ Copy C-tor to be used
when new CSLMImmutableSegment is being built from a Mutable one.
protected
MutableSegment(org.apache.hadoop.hbase.regionserver.CellSet<org.apache.hadoop.hbase.ExtendedCell> cellSet,
CellComparator comparator,
org.apache.hadoop.hbase.regionserver.MemStoreLAB memStoreLAB,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)