@Internal public interface FieldValueSetter<ObjectT,ValueT> extends java.io.Serializable
An interface to set a field of a class.
Implementations of this interface are generated at runtime to map Row fields back into objet fields.
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Type |
elementType()
If the field is a container type, returns the element type.
|
java.lang.reflect.Type |
mapKeyType()
If the field is a map type, returns the key type.
|
java.lang.reflect.Type |
mapValueType()
If the field is a map type, returns the key type.
|
java.lang.String |
name()
Returns the name of the field.
|
void |
set(ObjectT object,
ValueT value)
Sets the specified field on object to value.
|
java.lang.Class |
type()
Returns the field type.
|
java.lang.String name()
java.lang.Class type()
@Nullable java.lang.reflect.Type elementType()
@Nullable java.lang.reflect.Type mapKeyType()
@Nullable java.lang.reflect.Type mapValueType()