public class ParquetUtil extends Object
Constructor and Description |
---|
ParquetUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
makeOptionalFieldsRequired(List<ColumnPath> columnPaths,
MessageType schema) |
static String |
makeRequiredFieldsOptional(List<ColumnPath> columnPaths,
MessageType schema) |
static MessageType |
readSchema(File file) |
static MessageType |
readSchema(Reader reader) |
static String |
removeSchemaFields(List<ColumnPath> columnPaths,
MessageType schema) |
public static MessageType readSchema(Reader reader) throws IOException
IOException
public static MessageType readSchema(File file) throws IOException
IOException
public static String makeRequiredFieldsOptional(List<ColumnPath> columnPaths, MessageType schema)
public static String makeOptionalFieldsRequired(List<ColumnPath> columnPaths, MessageType schema)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.