Enum QueryType

java.lang.Object
java.lang.Enum<QueryType>
com.microsoft.store.partnercenter.models.query.QueryType
All Implemented Interfaces:
Serializable, Comparable<QueryType>, java.lang.constant.Constable

public enum QueryType
extends Enum<QueryType>
  • Enum Constant Details

    • SIMPLE

      public static final QueryType SIMPLE
      Enumerates query types. A standard query that supports filtering and sorting.
    • INDEXED

      public static final QueryType INDEXED
      A query that supports paging using an index and a page size in addition to the standard filtering and sorting.
    • COUNT

      public static final QueryType COUNT
      A query that returns the count of results according to an optional filter.
    • SEEK

      public static final QueryType SEEK
      A query that is a continuation of a previous one. Used to retrieve more records of the same query relative to the last made query by seeking to pages.
  • Method Details

    • values

      public static QueryType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static QueryType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null