public static class Resolver.RecordAdjust extends Resolver.Action
Resolver.Action.Type| Modifier and Type | Field and Description | 
|---|---|
| Object[] | defaultsContains the default values to be used for the last
 readerOrder.length-firstDefault fields in rearderOrder. | 
| Resolver.Action[] | fieldActionsAn action for each field of the writer. | 
| int | firstDefaultPointer into  readerOrderof the first reader field whose
 value comes from a default value. | 
| GenericData.InstanceSupplier | instanceSupplierSupplier that offers an optimized alternative to data.newRecord() | 
| Schema.Field[] | readerOrderContains (all of) the reader's fields. | 
conversion, logicalType, reader, type, writer| Modifier and Type | Method and Description | 
|---|---|
| boolean | noReorder()Returns true iff  i == readerOrder[i].pos()for all
 indicesi. | 
public final Resolver.Action[] fieldActions
Resolver.Skip. For fields to
 be read into the reading datum, will contain a regular action for resolving
 the writer/reader schemas of the matching fields.public final Schema.Field[] readerOrder
defaults.public final int firstDefault
readerOrder of the first reader field whose
 value comes from a default value. Set to length of
 readerOrder if there are none.public final Object[] defaults
public final GenericData.InstanceSupplier instanceSupplier
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.