Class NoneShardSpec
- java.lang.Object
-
- org.apache.druid.timeline.partition.NoneShardSpec
-
- All Implemented Interfaces:
ShardSpec
@Deprecated public class NoneShardSpec extends Object implements ShardSpec
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.druid.timeline.partition.ShardSpec
ShardSpec.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> PartitionChunk<T>
createChunk(T obj)
Deprecated.boolean
equals(Object obj)
Deprecated.List<String>
getDomainDimensions()
Deprecated.Get dimensions who have possible range for the rows this shard contains.ShardSpecLookup
getLookup(List<? extends ShardSpec> shardSpecs)
Deprecated.int
getNumCorePartitions()
Deprecated.int
getPartitionNum()
Deprecated.Returns the partition ID of this segment.String
getType()
Deprecated.Get the type name of this ShardSpec.int
hashCode()
Deprecated.static NoneShardSpec
instance()
Deprecated.boolean
possibleInDomain(Map<String,com.google.common.collect.RangeSet<String>> domain)
Deprecated.if given domain ranges are not possible in this shard, return false; otherwise return true;String
toString()
Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.druid.timeline.partition.ShardSpec
getAtomicUpdateGroupSize, getEndRootPartitionId, getMinorVersion, getStartRootPartitionId, sharePartitionSpace
-
-
-
-
Method Detail
-
instance
public static NoneShardSpec instance()
Deprecated.
-
createChunk
public <T> PartitionChunk<T> createChunk(T obj)
Deprecated.- Specified by:
createChunk
in interfaceShardSpec
-
getPartitionNum
public int getPartitionNum()
Deprecated.Description copied from interface:ShardSpec
Returns the partition ID of this segment.- Specified by:
getPartitionNum
in interfaceShardSpec
-
getNumCorePartitions
public int getNumCorePartitions()
Deprecated.- Specified by:
getNumCorePartitions
in interfaceShardSpec
-
getLookup
public ShardSpecLookup getLookup(List<? extends ShardSpec> shardSpecs)
Deprecated.
-
getDomainDimensions
public List<String> getDomainDimensions()
Deprecated.Description copied from interface:ShardSpec
Get dimensions who have possible range for the rows this shard contains.- Specified by:
getDomainDimensions
in interfaceShardSpec
- Returns:
- list of dimensions who has its possible range. Dimensions with unknown possible range are not listed
-
possibleInDomain
public boolean possibleInDomain(Map<String,com.google.common.collect.RangeSet<String>> domain)
Deprecated.Description copied from interface:ShardSpec
if given domain ranges are not possible in this shard, return false; otherwise return true;- Specified by:
possibleInDomain
in interfaceShardSpec
- Returns:
- possibility of in domain
-
getType
public String getType()
Deprecated.Description copied from interface:ShardSpec
Get the type name of this ShardSpec.
-
-