Package org.apache.parquet.schema
Interface TypeConverter<T>
-
- Type Parameters:
T- the resulting Type
public interface TypeConverter<T>to convert a MessageType tree- See Also:
Type.convert(List, TypeConverter)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TconvertGroupType(List<GroupType> path, GroupType groupType, List<T> children)TconvertMessageType(MessageType messageType, List<T> children)TconvertPrimitiveType(List<GroupType> path, PrimitiveType primitiveType)
-
-
-
Method Detail
-
convertPrimitiveType
T convertPrimitiveType(List<GroupType> path, PrimitiveType primitiveType)
- Parameters:
path- the path to that nodeprimitiveType- the type to convert- Returns:
- the result of conversion
-
convertGroupType
T convertGroupType(List<GroupType> path, GroupType groupType, List<T> children)
- Parameters:
path- the path to that nodegroupType- the type to convertchildren- its children already converted- Returns:
- the result of conversion
-
convertMessageType
T convertMessageType(MessageType messageType, List<T> children)
- Parameters:
messageType- the type to convertchildren- its children already converted- Returns:
- the result of conversion
-
-