public abstract class FixupTypes extends TypeUtil.CustomOrderSchemaVisitor<Type>
Modifier | Constructor and Description |
---|---|
protected |
FixupTypes(Schema referenceSchema) |
Modifier and Type | Method and Description |
---|---|
Type |
field(Types.NestedField field,
java.util.function.Supplier<Type> future) |
protected abstract boolean |
fixupPrimitive(Type.PrimitiveType type,
Type source) |
Type |
list(Types.ListType list,
java.util.function.Supplier<Type> elementTypeFuture) |
Type |
map(Types.MapType map,
java.util.function.Supplier<Type> keyTypeFuture,
java.util.function.Supplier<Type> valueTypeFuture) |
Type |
primitive(Type.PrimitiveType primitive) |
Type |
schema(Schema schema,
java.util.function.Supplier<Type> future) |
Type |
struct(Types.StructType struct,
java.lang.Iterable<Type> fieldTypes) |
protected FixupTypes(Schema referenceSchema)
public Type schema(Schema schema, java.util.function.Supplier<Type> future)
schema
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type struct(Types.StructType struct, java.lang.Iterable<Type> fieldTypes)
struct
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type field(Types.NestedField field, java.util.function.Supplier<Type> future)
field
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type list(Types.ListType list, java.util.function.Supplier<Type> elementTypeFuture)
list
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type map(Types.MapType map, java.util.function.Supplier<Type> keyTypeFuture, java.util.function.Supplier<Type> valueTypeFuture)
map
in class TypeUtil.CustomOrderSchemaVisitor<Type>
public Type primitive(Type.PrimitiveType primitive)
primitive
in class TypeUtil.CustomOrderSchemaVisitor<Type>
protected abstract boolean fixupPrimitive(Type.PrimitiveType type, Type source)