Codota Logo
SortOrder.addExplicitNullPosition
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain SortOrder
private void myMethod () {
SortOrder s =
  • Codota IconSelect select;select.getSortOrder()
  • Codota IconSession session;new SortOrder(session.getDatabase(), queryColumnIndexes, sortType, null)
  • Codota IconSelectUnion selectUnion;ArrayList arrayList;ArrayList arrayList2;selectUnion.prepareOrder(arrayList, arrayList2.size())
  • Smart code suggestions by Codota
}
origin: com.h2database/h2

/**
 * Returns sort order bit masks with {@link #NULLS_FIRST} or {@link #NULLS_LAST}
 * explicitly set, depending on {@link SysProperties#SORT_NULLS_HIGH}.
 *
 * @return bit masks with either {@link #NULLS_FIRST} or {@link #NULLS_LAST} explicitly set.
 */
public int[] getSortTypesWithNullPosition() {
  final int[] sortTypes = this.sortTypes.clone();
  for (int i=0, length = sortTypes.length; i<length; i++) {
    sortTypes[i] = addExplicitNullPosition(sortTypes[i]);
  }
  return sortTypes;
}
origin: com.h2database/h2

  break;
if (SortOrder.addExplicitNullPosition(idxCol.sortType) != sortTypes[j]) {
  ok = false;
  break;
org.h2.resultSortOrderaddExplicitNullPosition

Javadoc

Returns a sort type bit mask with #NULLS_FIRST or #NULLS_LASTexplicitly set, depending on SysProperties#SORT_NULLS_HIGH.

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
  • sort
  • getColumn
    Get the column for the given table filter, if the sort column is for this filter.
  • getIndexes
  • getSortTypesWithNullPosition
    Returns sort order bit masks with #NULLS_FIRST or #NULLS_LASTexplicitly set, depending on SysPropert
  • swap
  • swap

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now