Class BaseDimensionRangeShardSpec
- java.lang.Object
-
- org.apache.druid.timeline.partition.BaseDimensionRangeShardSpec
-
- All Implemented Interfaces:
ShardSpec
- Direct Known Subclasses:
DimensionRangeBucketShardSpec
,DimensionRangeShardSpec
,SingleDimensionRangeBucketShardSpec
public abstract class BaseDimensionRangeShardSpec extends Object implements ShardSpec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.druid.timeline.partition.ShardSpec
ShardSpec.Type
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
dimensions
protected StringTuple
end
protected StringTuple
start
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseDimensionRangeShardSpec(List<String> dimensions, StringTuple start, StringTuple end)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static StringTuple
getInputRowTuple(List<String> dimensions, InputRow inputRow)
ShardSpecLookup
getLookup(List<? extends ShardSpec> shardSpecs)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.timeline.partition.ShardSpec
createChunk, getAtomicUpdateGroupSize, getDomainDimensions, getEndRootPartitionId, getMinorVersion, getNumCorePartitions, getPartitionNum, getStartRootPartitionId, getType, possibleInDomain, sharePartitionSpace
-
-
-
-
Field Detail
-
start
@Nullable protected final StringTuple start
-
end
@Nullable protected final StringTuple end
-
-
Constructor Detail
-
BaseDimensionRangeShardSpec
protected BaseDimensionRangeShardSpec(List<String> dimensions, @Nullable StringTuple start, @Nullable StringTuple end)
-
-
Method Detail
-
getLookup
public ShardSpecLookup getLookup(List<? extends ShardSpec> shardSpecs)
-
getInputRowTuple
protected static StringTuple getInputRowTuple(List<String> dimensions, InputRow inputRow)
-
-