public class ParquetSimpleTestFileGenerator extends Object
TestFileGenerator,
GroupWriteSupport,
Dremel Example| Modifier and Type | Class and Description |
|---|---|
static class |
ParquetSimpleTestFileGenerator.EnumType |
| Modifier and Type | Field and Description |
|---|---|
static org.apache.parquet.schema.MessageType |
complexNullableSchema |
static String |
complexNullableSchemaMsg |
static org.apache.parquet.schema.MessageType |
complexSchema |
static String |
complexSchemaMsg |
static org.apache.hadoop.conf.Configuration |
conf |
static org.apache.hadoop.fs.Path |
root |
static org.apache.parquet.schema.MessageType |
simpleNullableSchema |
static String |
simpleNullableSchemaMsg |
static org.apache.parquet.schema.MessageType |
simpleSchema |
static String |
simpleSchemaMsg |
| Constructor and Description |
|---|
ParquetSimpleTestFileGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.fs.Path |
initFile(String fileName) |
static org.apache.parquet.hadoop.ParquetWriter<org.apache.parquet.example.data.Group> |
initWriter(org.apache.parquet.schema.MessageType schema,
String fileName,
boolean dictEncoding) |
static void |
main(String[] args) |
static void |
writeComplexValues(org.apache.parquet.example.data.GroupFactory gf,
org.apache.parquet.hadoop.ParquetWriter<org.apache.parquet.example.data.Group> complexWriter,
boolean writeNulls) |
static void |
writeSimpleValues(org.apache.parquet.example.data.simple.SimpleGroupFactory sgf,
org.apache.parquet.hadoop.ParquetWriter<org.apache.parquet.example.data.Group> simpleWriter,
boolean writeNulls) |
public static org.apache.hadoop.fs.Path root
public static org.apache.hadoop.conf.Configuration conf
public static String simpleSchemaMsg
public static String simpleNullableSchemaMsg
public static String complexSchemaMsg
public static String complexNullableSchemaMsg
public static org.apache.parquet.schema.MessageType simpleSchema
public static org.apache.parquet.schema.MessageType complexSchema
public static org.apache.parquet.schema.MessageType simpleNullableSchema
public static org.apache.parquet.schema.MessageType complexNullableSchema
public static org.apache.hadoop.fs.Path initFile(String fileName)
public static org.apache.parquet.hadoop.ParquetWriter<org.apache.parquet.example.data.Group> initWriter(org.apache.parquet.schema.MessageType schema,
String fileName,
boolean dictEncoding)
throws IOException
IOExceptionpublic static void writeComplexValues(org.apache.parquet.example.data.GroupFactory gf,
org.apache.parquet.hadoop.ParquetWriter<org.apache.parquet.example.data.Group> complexWriter,
boolean writeNulls)
throws IOException
IOExceptionpublic static void writeSimpleValues(org.apache.parquet.example.data.simple.SimpleGroupFactory sgf,
org.apache.parquet.hadoop.ParquetWriter<org.apache.parquet.example.data.Group> simpleWriter,
boolean writeNulls)
throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.