org.hibernate.search.query.fieldcache.impl
public enum FieldCacheLoadingType extends Enum<FieldCacheLoadingType>
Modifier and Type | Method and Description |
---|---|
abstract FieldLoadingStrategy |
createLoadingStrategy(String fieldName) |
static FieldLoadingStrategy |
getLoadingStrategy(String fieldName,
Class<?> type) |
static FieldCacheLoadingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldCacheLoadingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldCacheLoadingType STRING
public static final FieldCacheLoadingType INT
public static final FieldCacheLoadingType LONG
public static final FieldCacheLoadingType DOUBLE
public static final FieldCacheLoadingType FLOAT
public static FieldCacheLoadingType[] values()
for (FieldCacheLoadingType c : FieldCacheLoadingType.values()) System.out.println(c);
public static FieldCacheLoadingType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract FieldLoadingStrategy createLoadingStrategy(String fieldName)
public static FieldLoadingStrategy getLoadingStrategy(String fieldName, Class<?> type)
Copyright © 2006–2015 Hibernate. All rights reserved.