Uses of Package
org.apache.druid.segment
Packages that use org.apache.druid.segment
Package
Description
-
Classes in org.apache.druid.segment used by org.apache.druid.data.inputClassDescriptionAn adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).
-
Classes in org.apache.druid.segment used by org.apache.druid.data.input.implClassDescriptionProcessing related interface A DimensionHandler is an object that encapsulates indexing, column merging/building, and querying operations for a given dimension type (e.g., dict-encoded String, Long).IndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).Virtual columns are "views" created over a
ColumnSelectorFactoryorColumnSelector.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.fieldClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.key
-
Classes in org.apache.druid.segment used by org.apache.druid.frame.processorClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued.Class allowing lookup and usage of virtual columns.
-
Classes in org.apache.druid.segment used by org.apache.druid.frame.read
-
Classes in org.apache.druid.segment used by org.apache.druid.frame.read.columnarClassDescriptionBase type for interfaces that manage column value selection, e.g.
-
Classes in org.apache.druid.segment used by org.apache.druid.frame.segmentClassDescriptionFactory class for MetricSelectorsCursor is an interface for iteration over a range of data points, used during query execution.The difference between this class and
DataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.segment.columnarClassDescriptionDefines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.ProvidesCursorand if available,VectorCursorwhich readers can use to scan a set of rows defined originally from aCursorBuildSpecwhich describes how data is to be scanned, transformed, filter, grouped and aggregated, and/or ordered.Processing related interface A DimensionHandler is an object that encapsulates indexing, column merging/building, and querying operations for a given dimension type (e.g., dict-encoded String, Long).Direct interface to memory mapped segments. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.segment.rowClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Defines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.ProvidesCursorand if available,VectorCursorwhich readers can use to scan a set of rows defined originally from aCursorBuildSpecwhich describes how data is to be scanned, transformed, filter, grouped and aggregated, and/or ordered.Selector for a string-typed column, either single- or multi-valued.Returned byColumnSelectorFactory.getRowIdSupplier(). -
Classes in org.apache.druid.segment used by org.apache.druid.frame.utilClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued.Virtual columns are "views" created over a
ColumnSelectorFactoryorColumnSelector. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.writeClassDescriptionObject value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Factory class for MetricSelectorsSelector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.write.castClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Returned byColumnSelectorFactory.getRowIdSupplier(). -
Classes in org.apache.druid.segment used by org.apache.druid.frame.write.columnarClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.
-
Classes in org.apache.druid.segment used by org.apache.druid.guiceClassDescriptionProcessing related interface A DimensionHandler is an object that encapsulates indexing, column merging/building, and querying operations for a given dimension type (e.g., dict-encoded String, Long).IndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.
-
Classes in org.apache.druid.segment used by org.apache.druid.java.util.common.granularityClassDescriptionDefines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector. -
Classes in org.apache.druid.segment used by org.apache.druid.queryClassDescriptionBase type for interfaces that manage column value selection, e.g.Cursor is an interface for iteration over a range of data points, used during query execution.An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).The difference between this class and
DataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.Returns min/max values ofColumnHolder.TIME_COLUMN_NAMEfor a segment.Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregationClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.This interface is convenient for implementation of "double-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseDoubleColumnValueSelector.getDouble().GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization.IndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.This interface is convenient for implementation of "long-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseLongColumnValueSelector.getLong().Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.anyClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectors -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.cardinalityClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.cardinality.typesClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Base type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.cardinality.vectorClassDescriptionClass that encapsulates knowledge about how to create vector column processors.
-
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.firstlastClassDescriptionLong value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Object value selecting polymorphic "part" of theColumnValueSelectorinterface. -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.firstlast.firstClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.firstlast.lastClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.hyperloglogClassDescriptionObject value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Factory class for MetricSelectors -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.meanClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.
-
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.post
-
Classes in org.apache.druid.segment used by org.apache.druid.query.datasourcemetadataClassDescriptionThe difference between this class and
DataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable. -
Classes in org.apache.druid.segment used by org.apache.druid.query.dimensionClassDescriptionBase type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued."Mixin" for
DimensionSelector.Map some set of dictionary id to a smaller set of dictionaryIds (or... -
Classes in org.apache.druid.segment used by org.apache.druid.query.filterClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Class that encapsulates knowledge about how to create "column processors", which are...Factory class for MetricSelectorsSelector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.query.filter.vectorClassDescriptionClass that encapsulates knowledge about how to create vector column processors.
-
Classes in org.apache.druid.segment used by org.apache.druid.query.groupbyClassDescriptionDefines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.Returns min/max values ofColumnHolder.TIME_COLUMN_NAMEfor a segment.Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.groupby.epinephelinaeClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Defines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.ProvidesCursorand if available,VectorCursorwhich readers can use to scan a set of rows defined originally from aCursorBuildSpecwhich describes how data is to be scanned, transformed, filter, grouped and aggregated, and/or ordered.Returns min/max values ofColumnHolder.TIME_COLUMN_NAMEfor a segment. -
Classes in org.apache.druid.segment used by org.apache.druid.query.groupby.epinephelinae.columnClassDescriptionBase type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued.
-
Classes in org.apache.druid.segment used by org.apache.druid.query.groupby.epinephelinae.vectorClassDescriptionProvides
Cursorand if available,VectorCursorwhich readers can use to scan a set of rows defined originally from aCursorBuildSpecwhich describes how data is to be scanned, transformed, filter, grouped and aggregated, and/or ordered.Returns min/max values ofColumnHolder.TIME_COLUMN_NAMEfor a segment.Class that encapsulates knowledge about how to create vector column processors. -
Classes in org.apache.druid.segment used by org.apache.druid.query.lookupClassDescriptionA
Segmentthat is based on a stream of objects.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable. -
Classes in org.apache.druid.segment used by org.apache.druid.query.metadataClassDescriptionThe difference between this class and
DataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable. -
Classes in org.apache.druid.segment used by org.apache.druid.query.metadata.metadataClassDescriptionAggregate projection schema and row count information to store in
Metadatawhich itself is stored inside a segment, defining which projections exist for the segment. -
Classes in org.apache.druid.segment used by org.apache.druid.query.operatorClassDescriptionThe difference between this class and
DataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.planningClassDescription
-
Classes in org.apache.druid.segment used by org.apache.druid.query.policyClassDescriptionDefines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable. -
Classes in org.apache.druid.segment used by org.apache.druid.query.rowsandcolsClassDescriptionA CloseableShapeshifter is an interface created to allow Segments to be used from
CloseableShapeshifter.as(Class), but also to be able to ensure that any resource used by the object returned from theCloseableShapeshifter.as(Class)method have proper management of their lifecycle.An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.rowsandcols.concreteClassDescriptionA CloseableShapeshifter is an interface created to allow Segments to be used from
CloseableShapeshifter.as(Class), but also to be able to ensure that any resource used by the object returned from theCloseableShapeshifter.as(Class)method have proper management of their lifecycle.Direct interface to memory mapped segments. -
Classes in org.apache.druid.segment used by org.apache.druid.query.rowsandcols.semanticClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued.Class allowing lookup and usage of virtual columns.
-
Classes in org.apache.druid.segment used by org.apache.druid.query.scanClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Cursor is an interface for iteration over a range of data points, used during query execution.Defines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.Selector for a string-typed column, either single- or multi-valued.Returned byColumnSelectorFactory.getRowIdSupplier().The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.searchClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Selector for a string-typed column, either single- or multi-valued.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.timeboundaryClassDescriptionDefines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable. -
Classes in org.apache.druid.segment used by org.apache.druid.query.timeseriesClassDescriptionDefines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.Returns min/max values ofColumnHolder.TIME_COLUMN_NAMEfor a segment.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.topnClassDescriptionBase type for interfaces that manage column value selection, e.g.Cursor is an interface for iteration over a range of data points, used during query execution.Defines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from a
CursorFactoryso that an appropriateCursorHoldercan be constructed.Selector for a string-typed column, either single- or multi-valued.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.oddly specificSegmentinspector for topN optimizationsVirtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.topn.typesClassDescriptionNull value checking polymorphic "part" of the
ColumnValueSelectorinterface for primitive values.Base type for interfaces that manage column value selection, e.g.Cursor is an interface for iteration over a range of data points, used during query execution.Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.query.vector
-
Classes in org.apache.druid.segment used by org.apache.druid.segmentClassDescriptionAggregate projection schema and row count information to store in
Metadatawhich itself is stored inside a segment, defining which projections exist for the segment.CommonDimensionSchemafor ingestion of 'standard' Druid built-inColumnTypedatatypes.Double value selecting polymorphic "part" of theColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.A CloseableShapeshifter is an interface created to allow Segments to be used fromCloseableShapeshifter.as(Class), but also to be able to ensure that any resource used by the object returned from theCloseableShapeshifter.as(Class)method have proper management of their lifecycle.WrapsQueryableIndexandVirtualColumns, providing a unified view of physical and virtual columns, as well as lifecycle management for physical columns.Class that encapsulates knowledge about how to create "column processors", which are...Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.ComparatorbasedSortedDimensionDictionaryThere are a number of unused methods, because nested columns don't merge bitmap indexes during the merge phase, rather they are created when serializing the column, but leaving for now for compatibility with the other implementationCursor is an interface for iteration over a range of data points, used during query execution.Defines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from aCursorFactoryso that an appropriateCursorHoldercan be constructed.ProvidesCursorand if available,VectorCursorwhich readers can use to scan a set of rows defined originally from aCursorBuildSpecwhich describes how data is to be scanned, transformed, filter, grouped and aggregated, and/or ordered.Basic structure for indexing dictionary encoded columnsBase structure for merging dictionary encoded columnsSpecifies any additional per value indexes which should be constructed whenDictionaryEncodedColumnMerger.writeIndexes(List)is called, on top of the standard bitmap index created withDictionaryEncodedColumnMerger.mergeBitmaps(java.util.List<java.nio.IntBuffer>, org.apache.druid.collections.bitmap.BitmapFactory, org.apache.druid.segment.DictionaryEncodedColumnMerger.IndexSeeker[], int)Closer ofDictionaryEncodedColumnMerger.PersistedIdConversionand a parent path which they are stored in for easy cleanup when the segment is closed.Iterator for merging dictionaries for some comparable type into a single sorted dictionary, useful when merging dictionary encoded columnsBuildable dictionary for some comparable type.Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Processing related interface A DimensionHandler is an object that encapsulates indexing, column merging/building, and querying operations for a given dimension type (e.g., dict-encoded String, Long).Processing related interface A DimensionIndexer is a per-dimension stateful object that encapsulates type-specific operations and data structures used during the in-memory ingestion process (i.e., work done byIncrementalIndex).Processing related interface A DimensionMerger is a per-dimension stateful object that encapsulates type-specific operations and data structures used during the segment merging process (i.e., work done byIndexMerger).Processing related interface DimensionMerger subclass to be used with IndexMergerV9.Selector for a string-typed column, either single- or multi-valued.Column Serializer for double column.Represents the encoded component of a row key corresponding to a single dimension.Column Serializer for float column.GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization."Mixin" forDimensionSelector.Map some set of dictionary id to a smaller set of dictionaryIds (or...An adapter to an indexIndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.Unsafe for concurrent use from multiple threads.Column Serializer for long column.Inspector used byDataSourceMetadataQueryto populateDataSourceMetadataResultValue.getMaxIngestedEventTime().Represents "absent" column.Interface for methods describing physical segments such asQueryableIndexSegmentandIncrementalIndexSegmentthat is not typically used at query time (outside of metadata queries).Direct interface to memory mapped segments.Interface to capture the pattern of providing tracked usage of some resource.Helper object to assist in managingSegmentstorage lifecycle.Base type to markSegmentreturned byReferenceCountedObjectProvider<Segment>as 'leaf' segments, to distinguish from other transformations which can be done on top of this segment, such as bySegmentMapFunctionReferenceCountingCloseableObject implements something like automatic reference count-based resource management, backed by aPhaser.An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).AColumnSelectorFactorythat is based on an object supplier and aRowAdapterfor that type of object.ASegmentthat is based on a stream of objects.Returned byColumnSelectorFactory.getRowIdSupplier().Extension ofTimeAndDimsPointer, that keeps "row number" of the current data point in some collection of data points, that actually makes this data point to be called "row", and the collection, thus, "collection of rows".Used byRowBasedCursorFactoryandRowBasedCursorto walk through rows.Representation of schema payload, includes information like RowSignature and aggregator factories.Wrapper overSchemaPayloadto includenumRowsinformation.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.Encapsulates segment level information like numRows, schema fingerprint.Wrapper for aSegmentDescriptorandOptional<Segment>, the latter being created by aSegmentMapFunctionbeing applied to aReferenceCountedSegmentProvider.Compact representation of segment schema for multiple segments.Creates a sorted dictionary given some existing dictionary, storing a mapping of both sorted id to unsorted id and unsorted id to sorted idTimeAndDimsIterator (in conjunction withTimeAndDimsPointer) is anIterator-like abstraction, designed for allocation-free transformation, merging, combining and iteration over a stream of data points.TimeAndDimsPointer is used in conjunction withTimeAndDimsIterator, it's an _immutable_ object that points to different logical data points, asTimeAndDimsIterator.moveToNext()is called.Returns min/max values ofColumnHolder.TIME_COLUMN_NAMEfor a segment.oddly specificSegmentinspector for topN optimizationsTransformableRowIterator tightensRowIterator.getPointer()contract, that allows to transform iterated rows without allocations on each iterations, and reuse the mechanics of the underlying iterator.Class that encapsulates knowledge about how to create vector column processors.Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.Class allowing lookup and usage of virtual columns.SimpleSegmentimplementation for a segment that wraps a base segment such asUnnestSegmentorFilteredSegmentWrapper forTimeBoundaryInspectorused bySegmentimplementations that may filter out rows from an underlying segment, but do not modifyColumnHolder.TIME_COLUMN_NAME. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.columnClassDescriptionBase type for interfaces that manage column value selection, e.g.Interface containing dictionary-related methods common to
DimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Processing related interface A DimensionHandler is an object that encapsulates indexing, column merging/building, and querying operations for a given dimension type (e.g., dict-encoded String, Long).Selector for a string-typed column, either single- or multi-valued."Mixin" forDimensionSelector. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.dataClassDescriptionBase type for interfaces that manage column value selection, e.g.
-
Classes in org.apache.druid.segment used by org.apache.druid.segment.filterClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Class that encapsulates knowledge about how to create "column processors", which are...Factory class for MetricSelectorsInterface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.historicalClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Base type for interfaces that manage column value selection, e.g.Cursor is an interface for iteration over a range of data points, used during query execution.Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.incrementalClassDescriptionAggregate projection schema and row count information to store in
Metadatawhich itself is stored inside a segment, defining which projections exist for the segment.Double value selecting polymorphic "part" of theColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Cursor is an interface for iteration over a range of data points, used during query execution.Defines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from aCursorFactoryso that an appropriateCursorHoldercan be constructed.ProvidesCursorand if available,VectorCursorwhich readers can use to scan a set of rows defined originally from aCursorBuildSpecwhich describes how data is to be scanned, transformed, filter, grouped and aggregated, and/or ordered.Processing related interface A DimensionHandler is an object that encapsulates indexing, column merging/building, and querying operations for a given dimension type (e.g., dict-encoded String, Long).Processing related interface A DimensionIndexer is a per-dimension stateful object that encapsulates type-specific operations and data structures used during the in-memory ingestion process (i.e., work done byIncrementalIndex).An adapter to an indexThis interface is convenient for implementation of "long-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseLongColumnValueSelector.getLong().Interface for methods describing physical segments such asQueryableIndexSegmentandIncrementalIndexSegmentthat is not typically used at query time (outside of metadata queries).TransformableRowIterator tightensRowIterator.getPointer()contract, that allows to transform iterated rows without allocations on each iterations, and reuse the mechanics of the underlying iterator.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.joinClassDescriptionAn abstract class that provides an implementation of
AbstractDimensionSelector.getObject().Double value selecting polymorphic "part" of theColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Cursor is an interface for iteration over a range of data points, used during query execution.Defines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from aCursorFactoryso that an appropriateCursorHoldercan be constructed.ProvidesCursorand if available,VectorCursorwhich readers can use to scan a set of rows defined originally from aCursorBuildSpecwhich describes how data is to be scanned, transformed, filter, grouped and aggregated, and/or ordered.Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Selector for a string-typed column, either single- or multi-valued."Mixin" forDimensionSelector.Interface to capture the pattern of providing tracked usage of some resource.The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.join.filterClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued.Virtual columns are "views" created over a
ColumnSelectorFactoryorColumnSelector.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.join.lookupClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Selector for a string-typed column, either single- or multi-valued.Interface to capture the pattern of providing tracked usage of some resource.
-
Classes in org.apache.druid.segment used by org.apache.druid.segment.join.tableClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Selector for a string-typed column, either single- or multi-valued."Mixin" forDimensionSelector.Interface to capture the pattern of providing tracked usage of some resource.ReferenceCountingCloseableObject implements something like automatic reference count-based resource management, backed by aPhaser.An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows). -
Classes in org.apache.druid.segment used by org.apache.druid.segment.loadingClassDescriptionInterface to capture the pattern of providing tracked usage of some resource.The difference between this class and
DataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.nestedClassDescriptionFactory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Processing related interface A DimensionHandler is an object that encapsulates indexing, column merging/building, and querying operations for a given dimension type (e.g., dict-encoded String, Long).Selector for a string-typed column, either single- or multi-valued.GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization.IndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.
-
Classes in org.apache.druid.segment used by org.apache.druid.segment.projectionsClassDescriptionAggregate projection schema and row count information to store in
Metadatawhich itself is stored inside a segment, defining which projections exist for the segment.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Defines the plan for how the reader will scan, filter, transform, group and aggregate, and or order the data from aCursorFactoryso that an appropriateCursorHoldercan be constructed.Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.selector.settableClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Base type for interfaces that manage column value selection, e.g.Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Selector for a string-typed column, either single- or multi-valued.This interface is convenient for implementation of "double-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseDoubleColumnValueSelector.getDouble().This interface is convenient for implementation of "float-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseFloatColumnValueSelector.getFloat()."Mixin" forDimensionSelector.This interface is convenient for implementation of "long-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseLongColumnValueSelector.getLong().Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.segment.serdeClassDescriptionBase type for interfaces that manage column value selection, e.g.GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization.IndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.
-
Classes in org.apache.druid.segment used by org.apache.druid.segment.shimClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Cursor is an interface for iteration over a range of data points, used during query execution.Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Selector for a string-typed column, either single- or multi-valued."Mixin" forDimensionSelector.Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.segment.vectorClassDescriptionInterface containing dictionary-related methods common to
DimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector."Mixin" forDimensionSelector.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.virtualClassDescriptionDouble value selecting polymorphic "part" of the
ColumnValueSelectorinterface.Float value selecting polymorphic "part" of theColumnValueSelectorinterface.Long value selecting polymorphic "part" of theColumnValueSelectorinterface.Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.Object value selecting polymorphic "part" of theColumnValueSelectorinterface.Factory class for MetricSelectorsBase type for interfaces that manage column value selection, e.g.Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.Selector for a string-typed column, either single- or multi-valued."Mixin" forDimensionSelector.Returned byColumnSelectorFactory.getRowIdSupplier().Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.timelineClassDescriptionIndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.