public enum FetchStrategy extends java.lang.Enum<FetchStrategy>
Enum Constant | Description |
---|---|
JOIN |
A strategy that defines that the target elements are joined and fetched along in the source query.
|
SELECT |
A strategy that defines that the target elements are selected in separate queries.
|
SUBSELECT |
A strategy that defines that the target elements are selected in a single query containing the source query as subquery.
|
Modifier and Type | Method | Description |
---|---|---|
static FetchStrategy |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FetchStrategy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchStrategy JOIN
public static final FetchStrategy SELECT
BatchFetch.size()
, the query select multiple elements at once.public static final FetchStrategy SUBSELECT
public static FetchStrategy[] values()
for (FetchStrategy c : FetchStrategy.values()) System.out.println(c);
public static FetchStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2018 Blazebit. All rights reserved.