Uses of Package
org.apache.druid.segment
-
Classes in org.apache.druid.segment used by org.apache.druid.data.input Class Description RowAdapter 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.data.input.impl Class Description DimensionHandler 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).RowAdapter 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.frame.field Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.key Class Description ColumnInspector -
Classes in org.apache.druid.segment used by org.apache.druid.frame.processor Class Description ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector Selector for a string-typed column, either single- or multi-valued.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.read Class Description ColumnSelectorFactory Factory class for MetricSelectorsCursorFactory Interface extended byStorageAdapter, which gives them the power to create cursors. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.read.columnar Class Description ColumnValueSelector Base type for interfaces that manage column value selection, e.g. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.segment Class Description ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsCursor Cursor is an interface for iteration over a range of data points, used during query execution.CursorFactory Interface extended byStorageAdapter, which gives them the power to create cursors.Metadata QueryableIndex Direct interface to memory mapped segments.Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.SimpleSettableOffset StorageAdapter VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.segment.columnar Class Description ColumnInspector Cursor Cursor is an interface for iteration over a range of data points, used during query execution.CursorFactory Interface extended byStorageAdapter, which gives them the power to create cursors.DimensionHandler 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).Metadata QueryableIndex Direct interface to memory mapped segments.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.segment.row Class Description ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.Cursor Cursor is an interface for iteration over a range of data points, used during query execution.CursorFactory Interface extended byStorageAdapter, which gives them the power to create cursors.DimensionSelector Selector for a string-typed column, either single- or multi-valued.RowIdSupplier Returned byColumnSelectorFactory.getRowIdSupplier().VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.util Class Description ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector Selector for a string-typed column, either single- or multi-valued.VirtualColumn Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.write Class Description BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnSelectorFactory Factory class for MetricSelectorsDimensionSelector Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.frame.write.columnar Class Description ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g. -
Classes in org.apache.druid.segment used by org.apache.druid.guice Class Description DefaultColumnFormatConfig DimensionHandler 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).DimensionHandlerProvider -
Classes in org.apache.druid.segment used by org.apache.druid.query Class Description ColumnValueSelector Base type for interfaces that manage column value selection, e.g.Cursor Cursor is an interface for iteration over a range of data points, used during query execution.RowAdapter An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.SegmentReference ASegmentwith a associated references, such asReferenceCountingSegmentwhere the reference is the segment itself, andHashJoinSegmentwhich wraps aReferenceCountingSegmentand also includes the associated list ofJoinableClauseStorageAdapter VirtualColumn Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DoubleColumnSelector This interface is convenient for implementation of "double-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseDoubleColumnValueSelector.getDouble().GenericColumnSerializer GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization.LongColumnSelector This interface is convenient for implementation of "long-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseLongColumnValueSelector.getLong().ObjectColumnSelector Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.any Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectors -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.cardinality Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.ObjectColumnSelector Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.cardinality.types Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector 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.vector Class Description VectorColumnProcessorFactory Class that encapsulates knowledge about how to create vector column processors. -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.firstlast Class Description BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface. -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.firstlast.first Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.ObjectColumnSelector Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.firstlast.last Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.ObjectColumnSelector Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.hyperloglog Class Description BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsGenericColumnSerializer GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization. -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.mean Class Description ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g. -
Classes in org.apache.druid.segment used by org.apache.druid.query.aggregation.post Class Description ColumnInspector -
Classes in org.apache.druid.segment used by org.apache.druid.query.datasourcemetadata Class Description Segment 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.dimension Class Description ColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector Selector for a string-typed column, either single- or multi-valued.IdLookup "Mixin" forDimensionSelector.IdMapping 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.filter Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnProcessorFactory Class that encapsulates knowledge about how to create "column processors", which are...ColumnSelector ColumnSelectorFactory Factory class for MetricSelectorsDimensionSelector Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.query.filter.vector Class Description VectorColumnProcessorFactory Class that encapsulates knowledge about how to create vector column processors. -
Classes in org.apache.druid.segment used by org.apache.druid.query.groupby Class Description Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.StorageAdapter VirtualColumn Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.groupby.epinephelinae Class Description ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.StorageAdapter -
Classes in org.apache.druid.segment used by org.apache.druid.query.groupby.epinephelinae.column Class Description ColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector 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.vector Class Description StorageAdapter VectorColumnProcessorFactory Class that encapsulates knowledge about how to create vector column processors. -
Classes in org.apache.druid.segment used by org.apache.druid.query.lookup Class Description RowBasedSegment ASegmentthat is based on a stream of objects.Segment 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.metadata Class Description Segment 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.operator Class Description Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.rowsandcols Class Description CloseableShapeshifter 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.RowAdapter An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).StorageAdapter VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.rowsandcols.concrete Class Description CloseableShapeshifter 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.QueryableIndex Direct interface to memory mapped segments.StorageAdapter -
Classes in org.apache.druid.segment used by org.apache.druid.query.rowsandcols.semantic Class Description ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector Selector for a string-typed column, either single- or multi-valued.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.scan Class Description ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.Cursor Cursor is an interface for iteration over a range of data points, used during query execution.DimensionSelector Selector for a string-typed column, either single- or multi-valued.RowIdSupplier Returned byColumnSelectorFactory.getRowIdSupplier().Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.search Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.DimensionSelector Selector for a string-typed column, either single- or multi-valued.Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.timeboundary Class Description Segment 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.timeseries Class Description Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.StorageAdapter VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.topn Class Description ColumnValueSelector Base type for interfaces that manage column value selection, e.g.Cursor Cursor is an interface for iteration over a range of data points, used during query execution.DimensionSelector Selector for a string-typed column, either single- or multi-valued.Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.StorageAdapter VirtualColumn Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.query.topn.types Class Description BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.ColumnValueSelector Base type for interfaces that manage column value selection, e.g.Cursor Cursor is an interface for iteration over a range of data points, used during query execution.DimensionSelector Selector for a string-typed column, either single- or multi-valued.StorageAdapter -
Classes in org.apache.druid.segment used by org.apache.druid.query.vector Class Description StorageAdapter -
Classes in org.apache.druid.segment used by org.apache.druid.segment Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseSingleValueDimensionSelector BitmapOffset ColumnCache ColumnInspector ColumnProcessorFactory Class that encapsulates knowledge about how to create "column processors", which are...ColumnSelector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.ComparatorSortedDimensionDictionary 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 Cursor is an interface for iteration over a range of data points, used during query execution.CursorFactory Interface extended byStorageAdapter, which gives them the power to create cursors.DefaultColumnFormatConfig DictionaryEncodedColumnIndexer Basic structure for indexing dictionary encoded columnsDictionaryEncodedColumnMerger Base structure for merging dictionary encoded columnsDictionaryEncodedColumnMerger.ExtendedIndexesMerger Specifies 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)DictionaryEncodedColumnMerger.IndexSeeker DictionaryMergingIterator Iterator for merging dictionaries for some comparable type into a single sorted dictionary, useful when merging dictionary encoded columnsDimensionDictionary Buildable dictionary for some comparable type.DimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.DimensionHandler 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).DimensionHandlerProvider DimensionIndexer 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).DimensionMerger 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).DimensionMergerV9 Processing related interface DimensionMerger subclass to be used with IndexMergerV9.DimensionSelector Selector for a string-typed column, either single- or multi-valued.DoubleColumnSerializer DoubleColumnSerializerV2 Column Serializer for double column.EncodedKeyComponent Represents the encoded component of a row key corresponding to a single dimension.FloatColumnSerializer FloatColumnSerializerV2 Column Serializer for float column.GenericColumnSerializer GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization.IdLookup "Mixin" forDimensionSelector.IdMapping Map some set of dictionary id to a smaller set of dictionaryIds (or...IdMapping.Builder IndexableAdapter An adapter to an indexIndexableAdapter.NestedColumnMergable IndexIO IndexMerger IndexMergerV9 IndexSpec IndexSpec defines segment storage format options to be used at indexing time, such as bitmap type, and column compression formats.IndexSpec.Builder LongColumnSerializer Unsafe for concurrent use from multiple threads.LongColumnSerializerV2 Column Serializer for long column.Metadata MetricHolder MetricHolder.MetricType MMappedIndex NilColumnValueSelector Represents "absent" column.NumericDimensionMergerV9 ProgressIndicator QueryableIndex Direct interface to memory mapped segments.QueryableIndexCursorSequenceBuilder.TimestampCheckingOffset ReferenceCountedObject Interface for an object that may have a reference acquired in the form of aCloseable.ReferenceCountingCloseableObject ReferenceCountingCloseableObject implements something like automatic reference count-based resource management, backed by aPhaser.ReferenceCountingSegment Segmentthat is also aReferenceCountingSegment, allowing query engines that operate directly on segments to track references so that dropping aSegmentcan be done safely to ensure there are no in-flight queries.RowAdapter An adapter between arbitrary types and the needs of callers that want to read specific columns out of those types (treating them as rows).RowBasedColumnSelectorFactory AColumnSelectorFactorythat is based on an object supplier and aRowAdapterfor that type of object.RowIdSupplier Returned byColumnSelectorFactory.getRowIdSupplier().RowIterator RowPointer 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".RowWalker Used byRowBasedStorageAdapterandRowBasedCursorto walk through rows.SchemaPayload Representation of schema payload, includes information like RowSignature and aggregator factories.SchemaPayloadPlus Wrapper overSchemaPayloadto includenumRowsinformation.Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.SegmentLazyLoadFailCallback SegmentMetadata Encapsulates segment level information like numRows, schema fingerprint.SegmentReference ASegmentwith a associated references, such asReferenceCountingSegmentwhere the reference is the segment itself, andHashJoinSegmentwhich wraps aReferenceCountingSegmentand also includes the associated list ofJoinableClauseSegmentSchemaMapping Compact representation of segment schema for multiple segments.SimpleSettableOffset SortedDimensionDictionary Creates a sorted dictionary given some existing dictionary, storing a mapping of both sorted id to unsorted id and unsorted id to sorted idStorageAdapter TimeAndDimsIterator TimeAndDimsIterator (in conjunction withTimeAndDimsPointer) is anIterator-like abstraction, designed for allocation-free transformation, merging, combining and iteration over a stream of data points.TimeAndDimsPointer TimeAndDimsPointer is used in conjunction withTimeAndDimsIterator, it's an _immutable_ object that points to different logical data points, asTimeAndDimsIterator.moveToNext()is called.TransformableRowIterator TransformableRowIterator tightensRowIterator.getPointer()contract, that allows to transform iterated rows without allocations on each iterations, and reuse the mechanics of the underlying iterator.VectorColumnProcessorFactory Class that encapsulates knowledge about how to create vector column processors.VirtualColumn Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.column Class Description ColumnInspector ColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.DimensionHandler 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).DimensionSelector Selector for a string-typed column, either single- or multi-valued.IdLookup "Mixin" forDimensionSelector. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.data Class Description ColumnValueSelector Base type for interfaces that manage column value selection, e.g. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.filter Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnProcessorFactory Class that encapsulates knowledge about how to create "column processors", which are...ColumnSelectorFactory Factory class for MetricSelectorsDimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.DimensionSelector Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.historical Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnValueSelector Base type for interfaces that manage column value selection, e.g.Cursor Cursor is an interface for iteration over a range of data points, used during query execution.DimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.DimensionSelector Selector for a string-typed column, either single- or multi-valued. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.incremental Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.Cursor Cursor is an interface for iteration over a range of data points, used during query execution.CursorFactory Interface extended byStorageAdapter, which gives them the power to create cursors.DimensionHandler 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).DimensionIndexer 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).IndexableAdapter An adapter to an indexIndexableAdapter.NestedColumnMergable LongColumnSelector This interface is convenient for implementation of "long-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseLongColumnValueSelector.getLong().Metadata StorageAdapter TransformableRowIterator TransformableRowIterator tightensRowIterator.getPointer()contract, that allows to transform iterated rows without allocations on each iterations, and reuse the mechanics of the underlying iterator.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.join Class Description AbstractDimensionSelector An abstract class that provides an implementation ofAbstractDimensionSelector.getObject().BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.Cursor Cursor is an interface for iteration over a range of data points, used during query execution.CursorFactory Interface extended byStorageAdapter, which gives them the power to create cursors.DimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.DimensionSelector Selector for a string-typed column, either single- or multi-valued.IdLookup "Mixin" forDimensionSelector.Metadata QueryableIndex Direct interface to memory mapped segments.ReferenceCountedObject Interface for an object that may have a reference acquired in the form of aCloseable.Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.SegmentReference ASegmentwith a associated references, such asReferenceCountingSegmentwhere the reference is the segment itself, andHashJoinSegmentwhich wraps aReferenceCountingSegmentand also includes the associated list ofJoinableClauseStorageAdapter VirtualColumn Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.join.filter Class Description ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector Selector for a string-typed column, either single- or multi-valued.VirtualColumn Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.join.lookup Class Description ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionSelector Selector for a string-typed column, either single- or multi-valued.ReferenceCountedObject Interface for an object that may have a reference acquired in the form of aCloseable. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.join.table Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnInspector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.DimensionSelector Selector for a string-typed column, either single- or multi-valued.IdLookup "Mixin" forDimensionSelector.QueryableIndexSegment ReferenceCountedObject Interface for an object that may have a reference acquired in the form of aCloseable.ReferenceCountingCloseableObject ReferenceCountingCloseableObject implements something like automatic reference count-based resource management, backed by aPhaser.RowAdapter 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.loading Class Description IndexIO Segment The difference between this class andDataSegmentis thatDataSegmentcontains the segment metadata only, while this class represents the actual body of segment data, queryable.SegmentLazyLoadFailCallback -
Classes in org.apache.druid.segment used by org.apache.druid.segment.nested Class Description ColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionHandler 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).DimensionSelector Selector for a string-typed column, either single- or multi-valued.GenericColumnSerializer GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization.IndexSpec 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.selector.settable Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.ColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.DimensionSelector Selector for a string-typed column, either single- or multi-valued.DoubleColumnSelector This interface is convenient for implementation of "double-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseDoubleColumnValueSelector.getDouble().FloatColumnSelector This interface is convenient for implementation of "float-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseFloatColumnValueSelector.getFloat().IdLookup "Mixin" forDimensionSelector.LongColumnSelector This interface is convenient for implementation of "long-sourcing"ColumnValueSelectors, it provides default implementations for allColumnValueSelector's methods exceptBaseLongColumnValueSelector.getLong().ObjectColumnSelector Restricts selector usage to only allowBaseObjectColumnValueSelector.getObject(). -
Classes in org.apache.druid.segment used by org.apache.druid.segment.serde Class Description ColumnValueSelector Base type for interfaces that manage column value selection, e.g.GenericColumnSerializer GenericColumnSerializer can be implemented in custom aggregator extensions that would like to take full control of column serialization. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.vector Class Description ColumnCache ColumnInspector DimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.IdLookup "Mixin" forDimensionSelector.QueryableIndex Direct interface to memory mapped segments.VirtualColumns Class allowing lookup and usage of virtual columns. -
Classes in org.apache.druid.segment used by org.apache.druid.segment.virtual Class Description BaseDoubleColumnValueSelector Double value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseFloatColumnValueSelector Float value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseLongColumnValueSelector Long value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseNullableColumnValueSelector Null value checking polymorphic "part" of theColumnValueSelectorinterface for primitive values.BaseObjectColumnValueSelector Object value selecting polymorphic "part" of theColumnValueSelectorinterface.BaseSingleValueDimensionSelector ColumnInspector ColumnSelector ColumnSelectorFactory Factory class for MetricSelectorsColumnValueSelector Base type for interfaces that manage column value selection, e.g.DimensionDictionarySelector Interface containing dictionary-related methods common toDimensionSelector,SingleValueDimensionVectorSelector, andMultiValueDimensionVectorSelector.DimensionSelector Selector for a string-typed column, either single- or multi-valued.IdLookup "Mixin" forDimensionSelector.RowIdSupplier Returned byColumnSelectorFactory.getRowIdSupplier().VirtualColumn Virtual columns are "views" created over aColumnSelectorFactoryorColumnSelector.VirtualColumns Class allowing lookup and usage of virtual columns.