| Constructor and Description |
|---|
RuntimeFieldFactory(int id) |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> MappedSchema.Field<T> |
create(int number,
java.lang.String name,
java.lang.reflect.Field field,
IdStrategy strategy)
Creates a runtime
field based on reflection. |
static RuntimeFieldFactory<?> |
getFieldFactory(java.lang.Class<?> clazz)
Gets the runtime field factory of the given
clazz. |
static RuntimeFieldFactory<?> |
getFieldFactory(java.lang.Class<?> clazz,
IdStrategy strategy)
Gets the runtime field factory of the given
clazz. |
static <T> RuntimeFieldFactory<T> |
getInline(java.lang.Class<T> typeClass)
Returns the factory for inline (scalar) values.
|
public static RuntimeFieldFactory<?> getFieldFactory(java.lang.Class<?> clazz)
clazz.
Method overload for backwards compatibility.public static RuntimeFieldFactory<?> getFieldFactory(java.lang.Class<?> clazz, IdStrategy strategy)
clazz.public static <T> RuntimeFieldFactory<T> getInline(java.lang.Class<T> typeClass)
public abstract <T> MappedSchema.Field<T> create(int number, java.lang.String name, java.lang.reflect.Field field, IdStrategy strategy)
field based on reflection.Copyright © 2009-2023. All Rights Reserved.