Enum Class WQUriControlField
- All Implemented Interfaces:
Serializable
,Comparable<WQUriControlField>
,Constable
Special WebQuery fields and their wire representation in the Query String API
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSet to some class to specify the subclass to return (for entities with type hierarchies)Set to true to request the resultset size be computedControls which relationships are eagerly fetched during the database query.Set to some comma-separated list of relationships to expand.Set toentity
(the default) orid
to fetch back the entity or just the entity primary key.Set to the maximum results to return for this query; a special limit of -1 (seeWebQuery.LIMIT_RETURN_ZERO
) requests no row data (useful when just wanting a count of resultset size.Set to true to request performance metrics be reported for this querySet to true to request that the SQL prepared statements as a result of this query be recorded as part of the resultsetAn optional name for the query, to allow server-side optimisation/hintingSet the index of the first result to return for this query -
Method Summary
Modifier and TypeMethodDescriptionReturn all the permitted namesstatic WQUriControlField
getName()
Return the name of this field when used in mapsstatic WQUriControlField
Returns the enum constant of this class with the specified name.static WQUriControlField[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFFSET
Set the index of the first result to return for this query -
LIMIT
Set to the maximum results to return for this query; a special limit of -1 (seeWebQuery.LIMIT_RETURN_ZERO
) requests no row data (useful when just wanting a count of resultset size. -
ORDER
-
COMPUTE_SIZE
Set to true to request the resultset size be computed -
LOG_SQL
Set to true to request that the SQL prepared statements as a result of this query be recorded as part of the resultset -
LOG_PERFORMANCE
Set to true to request performance metrics be reported for this query -
CLASS
Set to some class to specify the subclass to return (for entities with type hierarchies) -
EXPAND
Set to some comma-separated list of relationships to expand. This is handled after the query completes and the results are being serialised -
FETCH
Set toentity
(the default) orid
to fetch back the entity or just the entity primary key. This is handled after the query completes and the results are being serialised -
DBFETCH
Controls which relationships are eagerly fetched during the database query. N.B. the more relationships that are eagerly fetched the larger the db result set and therefore the slower the query will perform - strike a balance and take account of the value ofexpand
-
NAME
An optional name for the query, to allow server-side optimisation/hinting -
TEXT_QUERY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Return the name of this field when used in maps- Returns:
-
getByName
-
getAllNames
Return all the permitted names- Returns:
-