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
Modifier and TypeMethodDescriptionconvertMessageType(MessageType messageType, List<T> children) convertPrimitiveType(List<GroupType> path, PrimitiveType primitiveType)
-
Method Details
-
convertPrimitiveType
- Parameters:
path- the path to that nodeprimitiveType- the type to convert- Returns:
- the result of conversion
-
convertGroupType
- Parameters:
path- the path to that nodegroupType- the type to convertchildren- its children already converted- Returns:
- the result of conversion
-
convertMessageType
- Parameters:
messageType- the type to convertchildren- its children already converted- Returns:
- the result of conversion
-