@InterfaceAudience.Private public final class SegmentFactory extends Object
public static SegmentFactory instance()
public ImmutableSegment createImmutableSegment(org.apache.hadoop.conf.Configuration conf, CellComparator comparator, MemStoreSegmentsIterator iterator)
public CompositeImmutableSegment createCompositeImmutableSegment(CellComparator comparator, List<ImmutableSegment> segments)
public ImmutableSegment createImmutableSegmentByCompaction(org.apache.hadoop.conf.Configuration conf, CellComparator comparator, MemStoreSegmentsIterator iterator, int numOfCells, ImmutableSegment.Type segmentType) 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, ImmutableSegment.Type segmentType, List<ImmutableSegment> segments) throws IOException
IOExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.