public static class Resolver.EnumAdjust extends Resolver.Action
Resolver.Action.Type
Modifier and Type | Field and Description |
---|---|
int[] |
adjustments |
boolean |
noAdjustmentsNeeded |
Object[] |
values |
conversion, logicalType, reader, type, writer
Modifier and Type | Method and Description |
---|---|
static Resolver.Action |
resolve(Schema w,
Schema r,
GenericData d)
If writer and reader don't have same name, a
Resolver.ErrorAction.ErrorType.NAMES_DONT_MATCH is returned, otherwise an
appropriate Resolver.EnumAdjust is. |
public final int[] adjustments
public final Object[] values
public final boolean noAdjustmentsNeeded
public static Resolver.Action resolve(Schema w, Schema r, GenericData d)
Resolver.ErrorAction.ErrorType.NAMES_DONT_MATCH
is returned, otherwise an
appropriate Resolver.EnumAdjust
is.Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.