Class NoneShardSpec
- java.lang.Object
-
- org.apache.druid.timeline.partition.NoneShardSpec
-
- All Implemented Interfaces:
ShardSpec
@Deprecated public class NoneShardSpec extends Object implements ShardSpec
Deprecated.Since Druid 0.15.0. Segments generated by Druid 0.15.0 onwards do not use this shard spec.
-
-
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.booleanequals(Object obj)Deprecated.List<String>getDomainDimensions()Deprecated.Get dimensions who have possible range for the rows this shard contains.ShardSpecLookupgetLookup(List<? extends ShardSpec> shardSpecs)Deprecated.intgetNumCorePartitions()Deprecated.intgetPartitionNum()Deprecated.Returns the partition ID of this segment.StringgetType()Deprecated.Get the type name of this ShardSpec.inthashCode()Deprecated.static NoneShardSpecinstance()Deprecated.booleanpossibleInDomain(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;StringtoString()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:
createChunkin interfaceShardSpec
-
getPartitionNum
public int getPartitionNum()
Deprecated.Description copied from interface:ShardSpecReturns the partition ID of this segment.- Specified by:
getPartitionNumin interfaceShardSpec
-
getNumCorePartitions
public int getNumCorePartitions()
Deprecated.- Specified by:
getNumCorePartitionsin interfaceShardSpec
-
getLookup
public ShardSpecLookup getLookup(List<? extends ShardSpec> shardSpecs)
Deprecated.
-
getDomainDimensions
public List<String> getDomainDimensions()
Deprecated.Description copied from interface:ShardSpecGet dimensions who have possible range for the rows this shard contains.- Specified by:
getDomainDimensionsin 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:ShardSpecif given domain ranges are not possible in this shard, return false; otherwise return true;- Specified by:
possibleInDomainin interfaceShardSpec- Returns:
- possibility of in domain
-
getType
public String getType()
Deprecated.Description copied from interface:ShardSpecGet the type name of this ShardSpec.
-
-