public class GenerateSchemaDefFromParquet extends Object
Constructor and Description |
---|
GenerateSchemaDefFromParquet(String schemaName,
String rootEntityName) |
Modifier and Type | Method and Description |
---|---|
SchemaDef |
generateSchemaDef(File parquetFile) |
SchemaDef |
generateSchemaDef(InputFile inputParquetFile) |
SchemaDef |
generateSchemaDef(MessageType schema) |
FieldDef |
getFieldTypeForPrimitiveType(Type type) |
FieldType |
getInt96FieldType()
Returns
FieldType for int96 data type of Parquet. |
MessageType |
getParquetSchema() |
GenerateSchemaDefFromParquet |
setInt96FieldType(FieldType int96FieldType)
Set
FieldType for int96 data type of Parquet. |
public SchemaDef generateSchemaDef(InputFile inputParquetFile)
public SchemaDef generateSchemaDef(MessageType schema)
public FieldDef getFieldTypeForPrimitiveType(Type type)
public FieldType getInt96FieldType()
FieldType
for int96 data type of Parquet.
Possible values are: FieldType.DATETIME
, FieldType.BYTE
& FieldType.UNDEFINED
public GenerateSchemaDefFromParquet setInt96FieldType(FieldType int96FieldType)
FieldType
for int96 data type of Parquet.
Possible values are: FieldType.DATETIME
, FieldType.BYTE
& FieldType.UNDEFINED
public MessageType getParquetSchema()
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.