Package org.apache.iceberg.avro
Class AvroWithPartnerVisitor<P,R>
- java.lang.Object
-
- org.apache.iceberg.avro.AvroWithPartnerVisitor<P,R>
-
public class AvroWithPartnerVisitor<P,R> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AvroWithPartnerVisitor.FieldIDAccessors
static interface
AvroWithPartnerVisitor.PartnerAccessors<P>
-
Constructor Summary
Constructors Constructor Description AvroWithPartnerVisitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description R
array(P partner, org.apache.avro.Schema array, R elementResult)
R
arrayMap(P partner, org.apache.avro.Schema map, R keyResult, R valueResult)
R
map(P partner, org.apache.avro.Schema map, R valueResult)
R
primitive(P partner, org.apache.avro.Schema primitive)
R
record(P partner, org.apache.avro.Schema record, java.util.List<R> fieldResults)
R
union(P partner, org.apache.avro.Schema union, java.util.List<R> optionResults)
static <P,R>
Rvisit(P partner, org.apache.avro.Schema schema, AvroWithPartnerVisitor<P,R> visitor, AvroWithPartnerVisitor.PartnerAccessors<P> accessors)
-
-
-
Method Detail
-
visit
public static <P,R> R visit(P partner, org.apache.avro.Schema schema, AvroWithPartnerVisitor<P,R> visitor, AvroWithPartnerVisitor.PartnerAccessors<P> accessors)
-
-