|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Schema.Field.FieldConfigurable
Interface that allows to receive ITuple
field's metadata. Used to allow stateful custom serialization for
fields.
Method Summary | |
---|---|
void |
setFieldProperties(Map<String,String> readProps,
Map<String,String> targetProps)
Sets the properties for this field. |
Method Detail |
---|
void setFieldProperties(Map<String,String> readProps, Map<String,String> targetProps)
Properties may come from configuration for serializing or may have been read from a data source when deserializing. As Fields may implement custom Serializers / Deserializers, backwards compatibility might be preserved by each implementation. For that, we provide both properties read from deserializing and properties specified by the user as "target" for this Field. Below we specify the exact meaning of each parameter:
readProps
- Properties of this field, present when reading (deserializing).targetProps
- Properties of this field, specified for serializing. If readProps is also present, targetProps are to
be taken as an updated configuration for this field. In this way backwards compatibility can be
managed by each Serializer / Deserializer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |