Class NoneShardSpec
java.lang.Object
org.apache.druid.timeline.partition.NoneShardSpec
- All Implemented Interfaces:
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
Modifier and TypeMethodDescription<T> PartitionChunk<T>createChunk(T obj) Deprecated.booleanDeprecated.Deprecated.Get dimensions who have possible range for the rows this shard contains.Deprecated.intDeprecated.intDeprecated.Returns the partition ID of this segment.getType()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;toString()Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.druid.timeline.partition.ShardSpec
canCreateNumberedPartitionChunk, getAtomicUpdateGroupSize, getDomainVirtualColumns, getEndRootPartitionId, getMinorVersion, getStartRootPartitionId, sharePartitionSpace, withCorePartitions, withPartitionNum
-
Method Details
-
instance
Deprecated. -
createChunk
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
Deprecated. -
getDomainDimensions
Deprecated.Description copied from interface:ShardSpecGet dimensions who have possible range for the rows this shard contains. These columns might be physical columns stored in the shard, or computed expressions, in which case the manner in which they were computed is available inShardSpec.getDomainVirtualColumns().- Specified by:
getDomainDimensionsin interfaceShardSpec- Returns:
- list of dimensions who has its possible range. Dimensions with unknown possible range are not listed.
-
possibleInDomain
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
Deprecated.Description copied from interface:ShardSpecGet the type name of this ShardSpec. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-