Package org.hibernate.engine.profile
Enum Fetch.Style
- java.lang.Object
-
- java.lang.Enum<Fetch.Style>
-
- org.hibernate.engine.profile.Fetch.Style
-
- All Implemented Interfaces:
Serializable
,Comparable<Fetch.Style>
- Enclosing class:
- Fetch
@Deprecated(forRemoval=true) public static enum Fetch.Style extends Enum<Fetch.Style>
Deprecated, for removal: This API element is subject to removal in a future version.UseFetchStyle
The type or style of fetch.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOIN
Deprecated, for removal: This API element is subject to removal in a future version.Fetch via a joinSELECT
Deprecated, for removal: This API element is subject to removal in a future version.Fetch via a subsequent selectSUBSELECT
Deprecated, for removal: This API element is subject to removal in a future version.Fetch via a subsequent subselect
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Fetch.Style
forMethod(FetchMode fetchMode)
Deprecated, for removal: This API element is subject to removal in a future version.static Fetch.Style
parse(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Parses a style given an externalized string representationFetchStyle
toFetchStyle()
Deprecated, for removal: This API element is subject to removal in a future version.String
toString()
Deprecated, for removal: This API element is subject to removal in a future version.static Fetch.Style
valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static Fetch.Style[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JOIN
public static final Fetch.Style JOIN
Deprecated, for removal: This API element is subject to removal in a future version.Fetch via a join
-
SELECT
public static final Fetch.Style SELECT
Deprecated, for removal: This API element is subject to removal in a future version.Fetch via a subsequent select
-
SUBSELECT
public static final Fetch.Style SUBSELECT
Deprecated, for removal: This API element is subject to removal in a future version.Fetch via a subsequent subselect
-
-
Method Detail
-
values
public static Fetch.Style[] values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Fetch.Style c : Fetch.Style.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Fetch.Style valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.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 nameNullPointerException
- if the argument is null
-
toFetchStyle
public FetchStyle toFetchStyle()
Deprecated, for removal: This API element is subject to removal in a future version.
-
toString
public String toString()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classEnum<Fetch.Style>
-
parse
public static Fetch.Style parse(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Parses a style given an externalized string representation- Parameters:
name
- The externalized representation- Returns:
- The style;
JOIN
is returned if not recognized
-
forMethod
public static Fetch.Style forMethod(FetchMode fetchMode)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-