Uses of Class
org.apache.druid.query.OrderBy
Packages that use OrderBy
Package
Description
-
Uses of OrderBy in org.apache.druid.data.input.impl
Methods in org.apache.druid.data.input.impl that return types with arguments of type OrderBy -
Uses of OrderBy in org.apache.druid.frame.segment.columnar
Methods in org.apache.druid.frame.segment.columnar that return types with arguments of type OrderBy -
Uses of OrderBy in org.apache.druid.query
Methods in org.apache.druid.query that return OrderByModifier and TypeMethodDescriptionstatic OrderBystatic OrderByOrderBy.descending(String columnName) Methods in org.apache.druid.query with parameters of type OrderByModifier and TypeMethodDescriptionbooleanOrderBy.isExactReverse(OrderBy that) Returns true if the givenOrderByis the exact reverse, meaning they have the same column name in revrersed order.Method parameters in org.apache.druid.query with type arguments of type OrderByModifier and TypeMethodDescription -
Uses of OrderBy in org.apache.druid.query.scan
Methods in org.apache.druid.query.scan that return types with arguments of type OrderByConstructor parameters in org.apache.druid.query.scan with type arguments of type OrderByModifierConstructorDescriptionScanQuery(DataSource dataSource, QuerySegmentSpec querySegmentSpec, VirtualColumns virtualColumns, ScanQuery.ResultFormat resultFormat, int batchSize, long scanRowsOffset, long scanRowsLimit, Order orderFromUser, List<OrderBy> orderBysFromUser, DimFilter dimFilter, List<String> columns, Map<String, Object> context, List<ColumnType> columnTypes) -
Uses of OrderBy in org.apache.druid.segment
Fields in org.apache.druid.segment with type parameters of type OrderByMethods in org.apache.druid.segment that return types with arguments of type OrderByModifier and TypeMethodDescriptionCursors.ascendingTimeOrder()Get aCursorHolderOrderBylist that contains only aColumnHolder.TIME_COLUMN_NAMEasOrder.ASCENDING, classic Druid segment order.Cursors.descendingTimeOrder()Get aCursorHolderOrderBylist that contains only aColumnHolder.TIME_COLUMN_NAMEasOrder.DESCENDING, classic Druid segment order in reverse.AggregateProjectionMetadata.Schema.getOrdering()CursorHolder.getOrdering()Returns cursor ordering, which may or may not matchCursorBuildSpec.getPreferredOrdering().Metadata.getOrdering()Ordering for the segment associated with this object.NoopQueryableIndex.getOrdering()QueryableIndex.getOrdering()Returns the ordering of rows in this index.QueryableIndexCursorHolder.getOrdering()SimpleQueryableIndex.getOrdering()AggregateProjectionMetadata.Schema.getOrderingWithTimeColumnSubstitution()CursorBuildSpec.CursorBuildSpecBuilder.getPreferredOrdering()CursorBuildSpec.getPreferredOrdering()List of allOrderBycolumns which a query engine will use to sort its results to supply to theCursorHolder, which can allow optimization of the providedCursororVectorCursorif data matching the preferred ordering is available.Metadata.mergeOrderings(List<List<OrderBy>> orderingsToMerge) MergeMetadata.getOrdering()from different metadatas.Method parameters in org.apache.druid.segment with type arguments of type OrderByModifier and TypeMethodDescriptionstatic OrderCursors.getTimeOrdering(List<OrderBy> ordering) Return theOrderof theColumnHolder.TIME_COLUMN_NAME, based on aCursorHolder.getOrdering()orMetadata.getOrdering().booleanCursorBuildSpec.isCompatibleOrdering(List<OrderBy> ordering) Returns true if the given ordering is compatible withCursorBuildSpec.getPreferredOrdering().Metadata.mergeOrderings(List<List<OrderBy>> orderingsToMerge) MergeMetadata.getOrdering()from different metadatas.CursorBuildSpec.CursorBuildSpecBuilder.setPreferredOrdering(List<OrderBy> preferredOrdering) Constructor parameters in org.apache.druid.segment with type arguments of type OrderByModifierConstructorDescriptionMetadata(Map<String, Object> container, AggregatorFactory[] aggregators, TimestampSpec timestampSpec, Granularity queryGranularity, Boolean rollup, List<OrderBy> ordering, List<AggregateProjectionMetadata> projections) -
Uses of OrderBy in org.apache.druid.segment.incremental
Methods in org.apache.druid.segment.incremental that return types with arguments of type OrderByModifier and TypeMethodDescriptionIncrementalIndex.getOrdering()IncrementalIndexCursorHolder.getOrdering()IncrementalIndexRowSelector.getOrdering()Ordering for the data in the facts tableOnHeapAggregateProjection.getOrdering()