public static class TestHStore.MyCompactingMemStoreWithCustomCompactor extends CompactingMemStore
CompactingMemStore.IndexTypeallowCompaction, COMPACTING_MEMSTORE_TYPE_DEFAULT, COMPACTING_MEMSTORE_TYPE_KEY, compactor, DEEP_OVERHEAD, IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEYactive, FIXED_OVERHEAD, regionServices, snapshot, snapshotId| Constructor and Description |
|---|
MyCompactingMemStoreWithCustomCompactor(org.apache.hadoop.conf.Configuration conf,
CellComparatorImpl c,
HStore store,
RegionServicesForStores regionServices,
MemoryCompactionPolicy compactionPolicy) |
| Modifier and Type | Method and Description |
|---|---|
protected MemStoreCompactor |
createMemStoreCompactor(MemoryCompactionPolicy compactionPolicy) |
protected boolean |
shouldFlushInMemory() |
checkActiveSize, createList, debug, flattenOneSegment, getFamilyName, getFlushableSize, getImmutableSegments, getIndexType, getScanners, getSegments, getSmallestReadPoint, getStore, hasImmutableSegments, heapSize, isSloppy, keySize, preFlushSeqIDEstimation, pushActiveToPipeline, setCompositeSnapshot, size, snapshot, startReplayingFromWAL, stopReplayingFromWAL, swapCompactedSegments, updateLowestUnflushedSequenceIdInWALadd, add, addToScanners, addToScanners, clearSnapshot, dump, getComparator, getConfiguration, getLowest, getNextRow, getSnapshotSize, resetActive, timeOfOldestEdit, toString, upsertpublic MyCompactingMemStoreWithCustomCompactor(org.apache.hadoop.conf.Configuration conf, CellComparatorImpl c, HStore store, RegionServicesForStores regionServices, MemoryCompactionPolicy compactionPolicy) throws IOException
IOExceptionprotected MemStoreCompactor createMemStoreCompactor(MemoryCompactionPolicy compactionPolicy) throws IllegalArgumentIOException
createMemStoreCompactor in class CompactingMemStoreIllegalArgumentIOExceptionprotected boolean shouldFlushInMemory()
shouldFlushInMemory in class CompactingMemStoreCopyright © 2007–2019 Cloudera. All rights reserved.