public class BuildingSingleDimensionShardSpec extends BuildingDimensionRangeShardSpec
BuildingShardSpec
for how this class is used.SingleDimensionShardSpec
ShardSpec.Type
Constructor and Description |
---|
BuildingSingleDimensionShardSpec(int bucketId,
String dimension,
String start,
String end,
int partitionNum) |
Modifier and Type | Method and Description |
---|---|
SingleDimensionShardSpec |
convert(int numCorePartitions) |
<T> PartitionChunk<T> |
createChunk(T obj) |
boolean |
equals(Object o) |
String |
getDimension() |
String |
getEnd() |
Map<String,Object> |
getSerializableObject() |
String |
getStart() |
String |
getType()
Get the type name of this ShardSpec.
|
int |
hashCode() |
String |
toString() |
getBucketId, getDimensions, getEndTuple, getPartitionNum, getStartTuple
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDomainDimensions, getLookup, getNumCorePartitions, possibleInDomain
getAtomicUpdateGroupSize, getEndRootPartitionId, getMinorVersion, getStartRootPartitionId, sharePartitionSpace
public String getDimension()
public SingleDimensionShardSpec convert(int numCorePartitions)
convert
in interface BuildingShardSpec<DimensionRangeShardSpec>
convert
in class BuildingDimensionRangeShardSpec
public <T> PartitionChunk<T> createChunk(T obj)
createChunk
in interface ShardSpec
createChunk
in class BuildingDimensionRangeShardSpec
public String getType()
ShardSpec
getType
in interface ShardSpec
getType
in class BuildingDimensionRangeShardSpec
public boolean equals(Object o)
equals
in class BuildingDimensionRangeShardSpec
public int hashCode()
hashCode
in class BuildingDimensionRangeShardSpec
public String toString()
toString
in class BuildingDimensionRangeShardSpec
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.