Uses of Class
org.h2.result.SortOrder
Packages that use SortOrder
Package
Description
Contains queries.
Base classes for data analysis operations and implementations of window functions.
Various table index implementations, as well as cursors to navigate in an index.
Helper classes to use the MVStore in the H2 database.
Implementation of row and internal result sets.
Classes related to a table and table meta data.
-
Uses of SortOrder in org.h2.command.query
Methods in org.h2.command.query that return SortOrder -
Uses of SortOrder in org.h2.expression.analysis
Fields in org.h2.expression.analysis declared as SortOrderModifier and TypeFieldDescriptionprotected SortOrderDataAnalysisOperation.overOrderBySortSort order for OVERMethods in org.h2.expression.analysis that return SortOrderModifier and TypeMethodDescriptionprotected static SortOrderDataAnalysisOperation.createOrder(SessionLocal session, ArrayList<QueryOrderBy> orderBy, int offset) Create sort order.protected SortOrderDataAnalysisOperation.getOverOrderBySort()Returns the sort order for OVER clause.Methods in org.h2.expression.analysis with parameters of type SortOrderModifier and TypeMethodDescriptionstatic intWindowFrame.getEndIndex(Window over, SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow) Returns end index for the specified frame, or default end index if frame is null.intWindowFrame.getStartIndex(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow) Returns start index of this frame,WindowFrame.iterator(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, boolean reverse) Returns iterator.WindowFrame.iterator(Window over, SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, boolean reverse) Returns iterator for the specified frame, or default iterator if frame is null. -
Uses of SortOrder in org.h2.index
Methods in org.h2.index with parameters of type SortOrderModifier and TypeMethodDescriptiondoubleDualIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) abstract doubleIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Estimate the cost to search for rows given the search mask.doubleLinkedIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleMetaIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleRangeIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleViewIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleVirtualConstructedTableIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) protected final longIndex.getCostRangeIndex(int[] masks, long rowCount, TableFilter[] filters, int filter, SortOrder sortOrder, boolean isScanIndex, AllColumnsForPlan allColumnsSet) Calculate the cost for the given mask as if this index was a typical b-tree range index.Constructors in org.h2.index with parameters of type SortOrderModifierConstructorDescriptionViewIndex(TableView view, ViewIndex index, SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder) Constructor for plan item generation. -
Uses of SortOrder in org.h2.mvstore.db
Methods in org.h2.mvstore.db with parameters of type SortOrderModifier and TypeMethodDescriptiondoubleMVDelegateIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleMVPrimaryIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleMVSecondaryIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleMVSpatialIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) static ResultExternalMVTempResult.of(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes, int visibleColumnCount, int resultColumnCount, SortOrder sort) Creates MVStore-based temporary result. -
Uses of SortOrder in org.h2.result
Methods in org.h2.result with parameters of type SortOrderModifier and TypeMethodDescriptionvoidLocalResult.setSortOrder(SortOrder sort) Sets sort order to be used by this result.voidLocalResult.setWithTies(SortOrder withTiesSortOrder) Enables inclusion of tied rows to result and sets the sort order for tied rows. -
Uses of SortOrder in org.h2.table
Methods in org.h2.table with parameters of type SortOrderModifier and TypeMethodDescriptionTable.getBestPlanItem(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Get the best plan for the given search mask.TableView.getBestPlanItem(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Table.getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Get the scan index for this table.TableView.getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)