| Package | Description | 
|---|---|
| org.apache.avro | Avro kernel classes. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Resolver.ContainerUsed for array and map schemas: the public instance variable
 elementAction contains the resolving action needed for the element
 type of an array or value top of a map. | 
| static class  | Resolver.DoNothingIn this case, there's nothing to be done for resolution: the two schemas are
 effectively the same. | 
| static class  | Resolver.EnumAdjustContains information needed to resolve enumerations. | 
| static class  | Resolver.ErrorActionIn this case there is an error. | 
| static class  | Resolver.PromoteIn this case, the writer's type needs to be promoted to the reader's. | 
| static class  | Resolver.ReaderUnionIn this case, the reader is a union and the writer is not. | 
| static class  | Resolver.RecordAdjustInstructions for resolving two record schemas. | 
| static class  | Resolver.SkipThis only appears inside  Resolver.RecordAdjust.fieldActions, i.e., the actions
 for adjusting the fields of a record. | 
| static class  | Resolver.WriterUnionIn this case, the writer was a union. | 
| Modifier and Type | Field and Description | 
|---|---|
| Resolver.Action[] | Resolver.WriterUnion. actions | 
| Resolver.Action | Resolver.ReaderUnion. actualAction | 
| Resolver.Action | Resolver.Container. elementAction | 
| Resolver.Action[] | Resolver.RecordAdjust. fieldActionsAn action for each field of the writer. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Resolver.Action | Resolver. resolve(Schema writer,
       Schema reader)Uses GenericData.get() for the data param. | 
| static Resolver.Action | Resolver. resolve(Schema writer,
       Schema reader,
       GenericData data)Returns a  Resolver.Actiontree for resolving the writer schema
 writer and the reader schema reader. | 
| static Resolver.Action | Resolver.Promote. resolve(Schema w,
       Schema r,
       GenericData d)Return a promotion. | 
| static Resolver.Action | Resolver.EnumAdjust. resolve(Schema w,
       Schema r,
       GenericData d)If writer and reader don't have same name, a
  Resolver.ErrorAction.ErrorType.NAMES_DONT_MATCHis returned, otherwise an
 appropriateResolver.EnumAdjustis. | 
| static Resolver.Action | Resolver.WriterUnion. resolve(Schema writeSchema,
       Schema readSchema,
       GenericData data,
       Map<Schema.SeenPair,Resolver.Action> seen) | 
| static Resolver.Action | Resolver.ReaderUnion. resolve(Schema w,
       Schema r,
       GenericData d,
       Map<Schema.SeenPair,Resolver.Action> seen)Returns a  Resolver.ReaderUnionaction for resolving w and r,
 or anResolver.ErrorActionif there is no branch in the reader that matches
 the writer. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Resolver.Action | Resolver.WriterUnion. resolve(Schema writeSchema,
       Schema readSchema,
       GenericData data,
       Map<Schema.SeenPair,Resolver.Action> seen) | 
| static Resolver.Action | Resolver.ReaderUnion. resolve(Schema w,
       Schema r,
       GenericData d,
       Map<Schema.SeenPair,Resolver.Action> seen)Returns a  Resolver.ReaderUnionaction for resolving w and r,
 or anResolver.ErrorActionif there is no branch in the reader that matches
 the writer. | 
| Constructor and Description | 
|---|
| Container(Schema w,
         Schema r,
         GenericData d,
         Resolver.Action e) | 
| ReaderUnion(Schema w,
           Schema r,
           GenericData d,
           int firstMatch,
           Resolver.Action actual) | 
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.