congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SortOrder.sort
Code IndexAdd Tabnine to your IDE (free)

How to use
sort
method
in
org.h2.result.SortOrder

Best Java code snippets using org.h2.result.SortOrder.sort (Showing top 11 results out of 315)

origin: com.h2database/h2

@Override
public int addRows(ArrayList<Value[]> rows) {
  // speeds up inserting, but not really needed:
  if (sort != null) {
    sort.sort(rows);
  }
  for (Value[] values : rows) {
    addRow(values);
  }
  return rowCount;
}
origin: com.h2database/h2

if (sort != null) {
  if (offset > 0 || limit > 0) {
    sort.sort(rows, offset, limit < 0 ? rows.size() : limit);
  } else {
    sort.sort(rows);
origin: org.wowtools/h2

@Override
public int addRows(ArrayList<Value[]> rows) {
  // speeds up inserting, but not really needed:
  if (sort != null) {
    sort.sort(rows);
  }
  for (Value[] values : rows) {
    addRow(values);
  }
  return rowCount;
}
origin: com.eventsourcing/h2

@Override
public int addRows(ArrayList<Value[]> rows) {
  // speeds up inserting, but not really needed:
  if (sort != null) {
    sort.sort(rows);
  }
  for (Value[] values : rows) {
    addRow(values);
  }
  return rowCount;
}
origin: com.h2database/com.springsource.org.h2

public void sort(ObjectArray rows) throws SQLException {
  sort(rows, 0, rows.size() - 1);
}
origin: com.h2database/com.springsource.org.h2

public void addRows(ObjectArray rows) throws SQLException {
  if (sort != null) {
    sort.sort(rows);
  }
  for (int i = 0; i < rows.size(); i++) {
    Value[] values = (Value[]) rows.get(i);
    addRow(values);
  }        
}
origin: org.wowtools/h2

if (sort != null) {
  if (offset > 0 || limit > 0) {
    sort.sort(rows, offset, limit < 0 ? rows.size() : limit);
  } else {
    sort.sort(rows);
origin: com.eventsourcing/h2

if (sort != null) {
  if (offset > 0 || limit > 0) {
    sort.sort(rows, offset, limit < 0 ? rows.size() : limit);
  } else {
    sort.sort(rows);
origin: com.h2database/com.springsource.org.h2

public void addRows(ObjectArray rows) throws SQLException {
  if (sort != null) {
    sort.sort(rows);
origin: com.h2database/com.springsource.org.h2

} else {
  if (sort != null) {
    sort.sort(rows);
origin: com.h2database/com.springsource.org.h2

sort(rows, l, i - 1);
l = i + 1;
org.h2.resultSortOrdersort

Javadoc

Sort a list of rows.

Popular methods of SortOrder

  • getSortTypes
    Get the sort order bit masks.
  • <init>
    Construct a new sort order object.
  • compare
    Compare two expression lists.
  • compareNull
  • getQueryColumnIndexes
    Get the column index list. This is the column indexes of the order by expressions within the query.
  • getSQL
    Create the SQL snippet that describes this sort order. This is the SQL snippet that usually appears
  • getColumn
    Get the column for the given table filter, if the sort column is for this filter.
  • addExplicitNullPosition
    Returns a sort type bit mask with #NULLS_FIRST or #NULLS_LASTexplicitly set, depending on SysPropert
  • getIndexes
  • getSortTypesWithNullPosition
    Returns sort order bit masks with #NULLS_FIRST or #NULLS_LASTexplicitly set, depending on SysPropert
  • swap
  • swap

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JList (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now