Class SingleDimensionRangeBucketShardSpec
- java.lang.Object
-
- org.apache.druid.timeline.partition.BaseDimensionRangeShardSpec
-
- org.apache.druid.timeline.partition.SingleDimensionRangeBucketShardSpec
-
- All Implemented Interfaces:
BucketNumberedShardSpec<BuildingSingleDimensionShardSpec>,ShardSpec
public class SingleDimensionRangeBucketShardSpec extends BaseDimensionRangeShardSpec implements BucketNumberedShardSpec<BuildingSingleDimensionShardSpec>
SeeBucketNumberedShardSpecfor how this class is used.- See Also:
BuildingSingleDimensionShardSpec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.druid.timeline.partition.ShardSpec
ShardSpec.Type
-
-
Field Summary
-
Fields inherited from class org.apache.druid.timeline.partition.BaseDimensionRangeShardSpec
dimensions
-
-
Constructor Summary
Constructors Constructor Description SingleDimensionRangeBucketShardSpec(int bucketId, String dimension, String start, String end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildingSingleDimensionShardSpecconvert(int partitionId)booleanequals(Object o)intgetBucketId()StringgetDimension()StringgetEnd()StringgetStart()StringgetType()Get the type name of this ShardSpec.inthashCode()StringtoString()-
Methods inherited from class org.apache.druid.timeline.partition.BaseDimensionRangeShardSpec
getInputRowTuple, getLookup
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.druid.timeline.partition.BucketNumberedShardSpec
createChunk, getDomainDimensions, getNumCorePartitions, getPartitionNum, possibleInDomain
-
Methods inherited from interface org.apache.druid.timeline.partition.ShardSpec
getAtomicUpdateGroupSize, getEndRootPartitionId, getLookup, getMinorVersion, getStartRootPartitionId, sharePartitionSpace
-
-
-
-
Method Detail
-
getBucketId
public int getBucketId()
- Specified by:
getBucketIdin interfaceBucketNumberedShardSpec<BuildingSingleDimensionShardSpec>
-
getDimension
public String getDimension()
-
convert
public BuildingSingleDimensionShardSpec convert(int partitionId)
- Specified by:
convertin interfaceBucketNumberedShardSpec<BuildingSingleDimensionShardSpec>
-
getType
public String getType()
Description copied from interface:ShardSpecGet the type name of this ShardSpec.
-
-