public class LoadableDataSegment extends DataSegment
SegmentChangeRequestLoad. The broker prunes the loadSpec from segments
for efficiency reasons, but the broker does need the loadSpec when it loads broadcast segments.
This class always uses the non-pruning default PruneSpecsHolder.DataSegment.Builder, DataSegment.PruneSpecsHolder| Constructor and Description |
|---|
LoadableDataSegment(String dataSource,
org.joda.time.Interval interval,
String version,
Map<String,Object> loadSpec,
List<String> dimensions,
List<String> metrics,
ShardSpec shardSpec,
CompactionState lastCompactionState,
Integer binaryVersion,
long size,
DataSegment.PruneSpecsHolder pruneSpecsHolder) |
builder, builder, compareTo, equals, getAtomicUpdateGroupSize, getBinaryVersion, getDataSource, getDimensions, getEndRootPartitionId, getId, getInterval, getLastCompactionState, getLoadSpec, getMetrics, getMinorVersion, getShardSpec, getSize, getStartRootPartitionId, getVersion, hashCode, overshadows, toDescriptor, toString, withBinaryVersion, withDimensions, withLastCompactionState, withLoadSpec, withMetrics, withShardSpec, withSize, withVersionclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainsRootPartitionpublic LoadableDataSegment(String dataSource, org.joda.time.Interval interval, String version, @Nullable Map<String,Object> loadSpec, @Nullable List<String> dimensions, @Nullable List<String> metrics, @Nullable ShardSpec shardSpec, @Nullable CompactionState lastCompactionState, Integer binaryVersion, long size, DataSegment.PruneSpecsHolder pruneSpecsHolder)
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.