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>
SeeBucketNumberedShardSpec
for 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 BuildingSingleDimensionShardSpec
convert(int partitionId)
boolean
equals(Object o)
int
getBucketId()
String
getDimension()
String
getEnd()
String
getStart()
String
getType()
Get the type name of this ShardSpec.int
hashCode()
String
toString()
-
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:
getBucketId
in interfaceBucketNumberedShardSpec<BuildingSingleDimensionShardSpec>
-
getDimension
public String getDimension()
-
convert
public BuildingSingleDimensionShardSpec convert(int partitionId)
- Specified by:
convert
in interfaceBucketNumberedShardSpec<BuildingSingleDimensionShardSpec>
-
getType
public String getType()
Description copied from interface:ShardSpec
Get the type name of this ShardSpec.
-
-