Uses of Interface
org.apache.druid.timeline.partition.ShardSpec
-
Packages that use ShardSpec Package Description org.apache.druid.query.filter org.apache.druid.segment org.apache.druid.timeline org.apache.druid.timeline.partition -
-
Uses of ShardSpec in org.apache.druid.query.filter
Method parameters in org.apache.druid.query.filter with type arguments of type ShardSpec Modifier and Type Method Description static <T> Set<T>DimFilterUtils. filterShards(DimFilter dimFilter, Set<String> filterFields, Iterable<T> input, com.google.common.base.Function<T,ShardSpec> converter, Map<String,Optional<com.google.common.collect.RangeSet<String>>> dimensionRangeCache)Filter the given iterable of objects by removing any object whose ShardSpec, obtained from the converter function, does not fit in the RangeSet of the dimFilterDimFilter.getDimensionRangeSet(String). -
Uses of ShardSpec in org.apache.druid.segment
Methods in org.apache.druid.segment with parameters of type ShardSpec Modifier and Type Method Description static ReferenceCountingSegmentReferenceCountingSegment. wrapSegment(Segment baseSegment, ShardSpec shardSpec) -
Uses of ShardSpec in org.apache.druid.timeline
Methods in org.apache.druid.timeline that return ShardSpec Modifier and Type Method Description ShardSpecDataSegment. getShardSpec()Methods in org.apache.druid.timeline with parameters of type ShardSpec Modifier and Type Method Description static SegmentIdSegmentId. of(String dataSource, org.joda.time.Interval interval, String version, ShardSpec shardSpec)DataSegment.BuilderDataSegment.Builder. shardSpec(ShardSpec shardSpec)DataSegmentDataSegment. withShardSpec(ShardSpec newSpec)Constructors in org.apache.druid.timeline with parameters of type ShardSpec Constructor Description DataSegment(String dataSource, org.joda.time.Interval interval, String version, Map<String,Object> loadSpec, List<String> dimensions, List<String> metrics, ShardSpec shardSpec, Integer binaryVersion, long size)DataSegment(String dataSource, org.joda.time.Interval interval, String version, Map<String,Object> loadSpec, List<String> dimensions, List<String> metrics, ShardSpec shardSpec, CompactionState lastCompactionState, Integer binaryVersion, long size)DataSegment(String dataSource, org.joda.time.Interval interval, String version, Map<String,Object> loadSpec, List<String> dimensions, List<String> metrics, ShardSpec shardSpec, CompactionState lastCompactionState, Integer binaryVersion, long size, DataSegment.PruneSpecsHolder pruneSpecsHolder)DataSegment(SegmentId segmentId, Map<String,Object> loadSpec, List<String> dimensions, List<String> metrics, ShardSpec shardSpec, CompactionState lastCompactionState, Integer binaryVersion, long size) -
Uses of ShardSpec in org.apache.druid.timeline.partition
Classes in org.apache.druid.timeline.partition with type parameters of type ShardSpec Modifier and Type Interface Description interfaceBuildingShardSpec<T extends ShardSpec>This is one of the special shardSpecs which are temporarily used during batch ingestion.Subinterfaces of ShardSpec in org.apache.druid.timeline.partition Modifier and Type Interface Description interfaceBucketNumberedShardSpec<T extends BuildingShardSpec>This is one of the special shardSpecs which are temporarily used during batch ingestion.interfaceBuildingShardSpec<T extends ShardSpec>This is one of the special shardSpecs which are temporarily used during batch ingestion.interfaceOverwriteShardSpecShardSpec for non-first-generation segments.Classes in org.apache.druid.timeline.partition that implement ShardSpec Modifier and Type Class Description classBaseDimensionRangeShardSpecclassBuildingDimensionRangeShardSpecSeeBuildingShardSpecfor how this class is used.classBuildingHashBasedNumberedShardSpecSeeBuildingShardSpecfor how this class is used.classBuildingNumberedShardSpecSeeBuildingShardSpecfor how this class is used.classBuildingSingleDimensionShardSpecSeeBuildingShardSpecfor how this class is used.classDimensionRangeBucketShardSpecSeeBucketNumberedShardSpecfor how this class is used.classDimensionRangeShardSpecShardSpecfor partitioning based on ranges of one or more dimensions.classHashBasedNumberedShardSpecclassHashBucketShardSpecSeeBucketNumberedShardSpecfor how this class is used.classLinearShardSpecAn extendable linear shard spec.classNoneShardSpecDeprecated.Since Druid 0.15.0.classNumberedOverwriteShardSpecThis shardSpec is used only for the segments created by overwriting tasks with segment lock enabled.classNumberedShardSpecAn extendable linear shard spec containing the information of core partitions.classSingleDimensionRangeBucketShardSpecSeeBucketNumberedShardSpecfor how this class is used.classSingleDimensionShardSpecShardSpecfor range partitioning based on a single dimensionclassTombstoneShardSpecA shard spec to represent tombstones.Methods in org.apache.druid.timeline.partition that return ShardSpec Modifier and Type Method Description ShardSpecHashBasedNumberedPartialShardSpec. complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions)ShardSpecLinearPartialShardSpec. complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions)ShardSpecNumberedOverwritePartialShardSpec. complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions)ShardSpecNumberedPartialShardSpec. complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions)ShardSpecPartialShardSpec. complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions)Creates a new ShardSpec with given partitionId and numCorePartitions.ShardSpecSingleDimensionPartialShardSpec. complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions)ShardSpecShardSpecLookup. getShardSpec(long timestamp, InputRow row)Returns aShardSpecfor the given timestamp and the inputRow.Methods in org.apache.druid.timeline.partition that return types with arguments of type ShardSpec Modifier and Type Method Description Class<? extends ShardSpec>HashBasedNumberedPartialShardSpec. getShardSpecClass()Class<? extends ShardSpec>LinearPartialShardSpec. getShardSpecClass()Class<? extends ShardSpec>NumberedOverwritePartialShardSpec. getShardSpecClass()Class<? extends ShardSpec>NumberedPartialShardSpec. getShardSpecClass()Class<? extends ShardSpec>PartialShardSpec. getShardSpecClass()Returns the class of the shardSpec created by this factory.Class<? extends ShardSpec>SingleDimensionPartialShardSpec. getShardSpecClass()Method parameters in org.apache.druid.timeline.partition with type arguments of type ShardSpec Modifier and Type Method Description ShardSpecLookupBaseDimensionRangeShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)default ShardSpecLookupBuildingShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)BucketNumberedShardSpecshould be used for shard spec lookup.ShardSpecLookupHashBasedNumberedShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)ShardSpecLookupHashBucketShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)ShardSpecLookupLinearShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)ShardSpecLookupNoneShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)Deprecated.ShardSpecLookupNumberedOverwriteShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)ShardSpecLookupNumberedShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)ShardSpecLookupShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)ShardSpecLookupTombstoneShardSpec. getLookup(List<? extends ShardSpec> shardSpecs)
-