@InterfaceAudience.Private public final class SegmentFactory extends Object
public static SegmentFactory instance()
public CompositeImmutableSegment createCompositeImmutableSegment(CellComparator comparator, List<ImmutableSegment> segments)
public ImmutableSegment createImmutableSegmentByCompaction(org.apache.hadoop.conf.Configuration conf, CellComparator comparator, MemStoreSegmentsIterator iterator, int numOfCells, CompactingMemStore.IndexType idxType, MemStoreCompactionStrategy.Action action) throws IOException
IOExceptionpublic ImmutableSegment createImmutableSegment(CellComparator comparator)
public ImmutableSegment createImmutableSegment(MutableSegment segment)
public MutableSegment createMutableSegment(org.apache.hadoop.conf.Configuration conf, CellComparator comparator)
public ImmutableSegment createImmutableSegmentByMerge(org.apache.hadoop.conf.Configuration conf, CellComparator comparator, MemStoreSegmentsIterator iterator, int numOfCells, List<ImmutableSegment> segments, CompactingMemStore.IndexType idxType, MemStoreCompactionStrategy.Action action) throws IOException
IOExceptionpublic ImmutableSegment createImmutableSegmentByFlattening(CSLMImmutableSegment segment, CompactingMemStore.IndexType idxType, MemStoreSizing memstoreSizing, MemStoreCompactionStrategy.Action action)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.