Uses of Interface
org.apache.druid.segment.Segment
Packages that use Segment
Package
Description
-
Uses of Segment in org.apache.druid.frame.segment
Classes in org.apache.druid.frame.segment that implement SegmentModifier and TypeClassDescriptionclass -
Uses of Segment in org.apache.druid.query
Methods in org.apache.druid.query with parameters of type SegmentModifier and TypeMethodDescriptionQueryRunnerFactory.createRunner(Segment segment) Given a specific segment, this method will create aQueryRunner. -
Uses of Segment in org.apache.druid.query.datasourcemetadata
Methods in org.apache.druid.query.datasourcemetadata with parameters of type SegmentModifier and TypeMethodDescriptionDataSourceMetadataQueryRunnerFactory.createRunner(Segment segment) -
Uses of Segment in org.apache.druid.query.groupby
Methods in org.apache.druid.query.groupby with parameters of type Segment -
Uses of Segment in org.apache.druid.query.lookup
Classes in org.apache.druid.query.lookup that implement Segment -
Uses of Segment in org.apache.druid.query.metadata
Methods in org.apache.druid.query.metadata with parameters of type SegmentModifier and TypeMethodDescriptionSegmentMetadataQueryRunnerFactory.createRunner(Segment segment) long -
Uses of Segment in org.apache.druid.query.operator
Methods in org.apache.druid.query.operator with parameters of type SegmentModifier and TypeMethodDescriptionWindowOperatorQueryQueryRunnerFactory.createRunner(Segment segment) Constructors in org.apache.druid.query.operator with parameters of type Segment -
Uses of Segment in org.apache.druid.query.policy
Methods in org.apache.druid.query.policy with parameters of type SegmentModifier and TypeMethodDescriptiondefault voidPolicyEnforcer.validateOrElseThrow(Segment segment, Policy policy) Validates aSegmentagainst the policy enforcer. -
Uses of Segment in org.apache.druid.query.scan
Methods in org.apache.druid.query.scan with parameters of type SegmentModifier and TypeMethodDescriptionScanQueryRunnerFactory.createRunner(Segment segment) ScanQueryEngine.process(ScanQuery query, Segment segment, ResponseContext responseContext, QueryMetrics<?> queryMetrics) -
Uses of Segment in org.apache.druid.query.search
Fields in org.apache.druid.query.search declared as SegmentMethods in org.apache.druid.query.search with parameters of type SegmentModifier and TypeMethodDescriptionSearchQueryRunnerFactory.createRunner(Segment segment) CursorOnlyStrategy.getExecutionPlan(SearchQuery query, Segment segment) abstract List<SearchQueryExecutor>SearchStrategy.getExecutionPlan(SearchQuery query, Segment segment) UseIndexesStrategy.getExecutionPlan(SearchQuery query, Segment segment) Constructors in org.apache.druid.query.search with parameters of type SegmentModifierConstructorDescriptionCursorBasedExecutor(SearchQuery query, Segment segment, List<DimensionSpec> dimensionSpecs) IndexOnlyExecutor(SearchQuery query, Segment segment, ImmutableBitmap timeFilteredBitmap, List<DimensionSpec> dimensionSpecs) SearchQueryExecutor(SearchQuery query, Segment segment, List<DimensionSpec> dimensionSpecs) SearchQueryRunner(Segment segment, SearchStrategySelector strategySelector) -
Uses of Segment in org.apache.druid.query.timeboundary
Methods in org.apache.druid.query.timeboundary with parameters of type Segment -
Uses of Segment in org.apache.druid.query.timeseries
Methods in org.apache.druid.query.timeseries with parameters of type Segment -
Uses of Segment in org.apache.druid.query.topn
Methods in org.apache.druid.query.topn with parameters of type SegmentModifier and TypeMethodDescriptionTopNQueryRunnerFactory.createRunner(Segment segment) TopNQueryEngine.query(TopNQuery query, Segment segment, TopNQueryMetrics queryMetrics) Do the thing - process aSegmentinto aSequenceofTopNResultValue, with one of the fineTopNAlgorithmavailable chosen based on the type of column being aggregated. -
Uses of Segment in org.apache.druid.segment
Classes in org.apache.druid.segment that implement SegmentModifier and TypeClassDescriptionclassArrayListSegment<RowType>ASegmentthat is based on a stream of objects.classclassclassstatic final classstatic classBase type to markSegmentreturned byReferenceCountedObjectProvider<Segment>as 'leaf' segments, to distinguish from other transformations which can be done on top of this segment, such as bySegmentMapFunctionfinal classWraps aSegmentand decrements reference to this segment ofReferenceCountedSegmentProvideron close (instead of closing the segment itself which is managed through the provider)static final classclassclassRowBasedSegment<RowType>ASegmentthat is based on a stream of objects.classclassSimpleSegmentimplementation for a segment that wraps a base segment such asUnnestSegmentorFilteredSegmentFields in org.apache.druid.segment declared as SegmentModifier and TypeFieldDescriptionprotected final SegmentReferenceCountedSegmentProvider.LeafReference.baseSegmentprotected final SegmentRestrictedSegment.delegateprotected final SegmentWrappedSegment.delegateMethods in org.apache.druid.segment that return SegmentMethods in org.apache.druid.segment that return types with arguments of type SegmentModifier and TypeMethodDescriptionReferenceCountedSegmentProvider.acquireReference()SegmentReference.getSegmentReference()Returns the actual segment.SegmentWrangler.getSegmentsForIntervals(DataSource dataSource, Iterable<org.joda.time.Interval> intervals) Gets Segments for a particular datasource and set of intervals.Make a wrapper for aSegmentthat does not close the underlying segment on closeReferenceCountedSegmentProvider.wrapCloseable(ReferenceCountedSegmentProvider.LeafReference segment, Closeable closeable) Methods in org.apache.druid.segment with parameters of type SegmentModifier and TypeMethodDescriptionMake a wrapper for aSegmentthat does not close the underlying segment on closeMethod parameters in org.apache.druid.segment with type arguments of type SegmentModifier and TypeMethodDescriptiondefault SegmentMapFunctionReturns aSegmentMapFunctionwhich first applies thisSegmentMapFunctionand then applies the supplied transformation function to the resultingSegment, if present.default SegmentMapFunctionReturns aSegmentMapFunctionwhich first applies thisSegmentMapFunctionand then applies the supplied transformation function to the resultingSegment, if present.Constructors in org.apache.druid.segment with parameters of type SegmentModifierConstructorDescriptionFilteredSegment(Segment delegate, DimFilter filter) LeafReference(Segment baseSegment) ReferenceCountedSegmentProvider(Segment baseSegment) RestrictedSegment(Segment delegate, Policy policy) UnmanagedReference(Segment delegate) UnnestSegment(Segment delegate, VirtualColumn unnestColumn, DimFilter filter) WrappedSegment(Segment delegate) Constructor parameters in org.apache.druid.segment with type arguments of type SegmentModifierConstructorDescriptionSegmentReference(SegmentDescriptor segmentDescriptor, Optional<Segment> segmentReference, Closeable cleanupHold) -
Uses of Segment in org.apache.druid.segment.join
Classes in org.apache.druid.segment.join that implement SegmentModifier and TypeClassDescriptionclassRepresents a deep, left-heavy join of a left-hand side baseSegment onto a series of right-hand side clauses.Constructors in org.apache.druid.segment.join with parameters of type SegmentModifierConstructorDescriptionHashJoinSegment(Segment baseSegment, Filter baseFilter, List<JoinableClause> clauses, JoinFilterPreAnalysis joinFilterPreAnalysis, Closeable referenceCloseable) -
Uses of Segment in org.apache.druid.segment.loading
Methods in org.apache.druid.segment.loading that return SegmentModifier and TypeMethodDescriptionBroadcastJoinableMMappedQueryableSegmentizerFactory.factorize(DataSegment dataSegment, File parentDir, boolean lazy, SegmentLazyLoadFailCallback loadFailed) MMappedQueryableSegmentizerFactory.factorize(DataSegment dataSegment, File parentDir, boolean lazy, SegmentLazyLoadFailCallback loadFailed) SegmentizerFactory.factorize(DataSegment segment, File parentDir, boolean lazy, SegmentLazyLoadFailCallback loadFailed) TombstoneSegmentizerFactory.factorize(DataSegment segment, File parentDir, boolean lazy, SegmentLazyLoadFailCallback loadFailed) static SegmentTombstoneSegmentizerFactory.segmentForTombstone(DataSegment tombstone) Methods in org.apache.druid.segment.loading that return types with arguments of type SegmentModifier and TypeMethodDescriptionAcquireSegmentResult.getReferenceProvider()Segment reference provider for loaded segmentMethod parameters in org.apache.druid.segment.loading with type arguments of type SegmentModifier and TypeMethodDescriptionstatic AcquireSegmentResultAcquireSegmentResult.cached(ReferenceCountedObjectProvider<Segment> provider) Constructor parameters in org.apache.druid.segment.loading with type arguments of type SegmentModifierConstructorDescriptionAcquireSegmentResult(ReferenceCountedObjectProvider<Segment> referenceProvider, long loadSizeBytes, long waitTimeNanos, long loadTimeNanos)