Uses of Interface
org.apache.druid.timeline.partition.ShardSpec
Packages that use ShardSpec
Package
Description
-
Uses of ShardSpec in org.apache.druid.query.filter
Method parameters in org.apache.druid.query.filter with type arguments of type ShardSpecModifier and TypeMethodDescriptionstatic <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.timeline
Methods in org.apache.druid.timeline that return ShardSpecMethods in org.apache.druid.timeline with parameters of type ShardSpecModifier and TypeMethodDescriptionstatic SegmentIdSegmentId.of(String dataSource, org.joda.time.Interval interval, String version, ShardSpec shardSpec) DataSegment.withShardSpec(ShardSpec newSpec) Constructors in org.apache.druid.timeline with parameters of type ShardSpecModifierConstructorDescriptionDataSegment(String dataSource, org.joda.time.Interval interval, String version, Map<String, Object> loadSpec, List<String> dimensions, List<String> metrics, List<String> projections, ShardSpec shardSpec, CompactionState lastCompactionState, Integer binaryVersion, long size, DataSegment.PruneSpecsHolder pruneSpecsHolder) 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) Deprecated.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) Deprecated.useDataSegment.builder(SegmentId)orDataSegment.builder(DataSegment)instead. -
Uses of ShardSpec in org.apache.druid.timeline.partition
Classes in org.apache.druid.timeline.partition with type parameters of type ShardSpecModifier and TypeInterfaceDescriptioninterfaceBuildingShardSpec<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.partitionModifier and TypeInterfaceDescriptioninterfaceBucketNumberedShardSpec<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.interfaceShardSpec for non-first-generation segments.Classes in org.apache.druid.timeline.partition that implement ShardSpecModifier and TypeClassDescriptionclassclassSeeBuildingShardSpecfor how this class is used.classSeeBuildingShardSpecfor how this class is used.classSeeBuildingShardSpecfor how this class is used.classSeeBuildingShardSpecfor how this class is used.classSeeBucketNumberedShardSpecfor how this class is used.classShardSpecfor partitioning based on ranges of one or more dimensions.classclassSeeBucketNumberedShardSpecfor how this class is used.final classAn extendable linear shard spec.classDeprecated.Since Druid 0.15.0.classThis shardSpec is used only for the segments created by overwriting tasks with segment lock enabled.classAn extendable linear shard spec containing the information of core partitions.classSeeBucketNumberedShardSpecfor how this class is used.classShardSpecfor range partitioning based on a single dimensionclassA shard spec to represent tombstones.Methods in org.apache.druid.timeline.partition that return ShardSpecModifier and TypeMethodDescriptionHashBasedNumberedPartialShardSpec.complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions) LinearPartialShardSpec.complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions) NumberedOverwritePartialShardSpec.complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions) NumberedPartialShardSpec.complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions) PartialShardSpec.complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions) Creates a new ShardSpec with given partitionId and numCorePartitions.SingleDimensionPartialShardSpec.complete(com.fasterxml.jackson.databind.ObjectMapper objectMapper, int partitionId, int numCorePartitions) ShardSpecLookup.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 ShardSpecModifier and TypeMethodDescriptionHashBasedNumberedPartialShardSpec.getShardSpecClass()LinearPartialShardSpec.getShardSpecClass()NumberedOverwritePartialShardSpec.getShardSpecClass()NumberedPartialShardSpec.getShardSpecClass()PartialShardSpec.getShardSpecClass()Returns the class of the shardSpec created by this factory.SingleDimensionPartialShardSpec.getShardSpecClass()Method parameters in org.apache.druid.timeline.partition with type arguments of type ShardSpecModifier and TypeMethodDescriptiondefault ShardSpecLookupBucketNumberedShardSpecshould be used for shard spec lookup.Deprecated.
DataSegment.builder(SegmentId)orDataSegment.builder(DataSegment)instead.