public class $Parquet extends Object
| Constructor and Description |
|---|
$Parquet() |
| Modifier and Type | Method and Description |
|---|---|
$Hdfs |
getHdfs() |
$ParquetSchemaWriter |
getParquetSchemaWriter(String path,
org.apache.avro.Schema schema) |
org.apache.hadoop.fs.Path |
getParquetWritePath(String path) |
org.apache.hadoop.fs.Path |
getRandomPath(String path) |
$Parquet |
init($Hdfs hdfs) |
List<org.apache.parquet.example.data.Group> |
readFiles(String path) |
List<Object> |
readFiles(String path,
Class c) |
List<org.apache.avro.generic.GenericRecord> |
readGenericRecordFiles(String path) |
List<Object> |
readGenericRecordFiles(String path,
Class c) |
$Parquet |
setHdfs($Hdfs hdfs) |
void |
writeGenericRecordFiles(String path,
org.apache.avro.Schema schema,
List<Object> ol) |
void |
writeGenericRecordFiles(String path,
org.apache.avro.Schema schema,
Object o) |
public List<Object> readFiles(String path, Class c) throws IOException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
public List<org.apache.parquet.example.data.Group> readFiles(String path) throws IOException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
public List<org.apache.avro.generic.GenericRecord> readGenericRecordFiles(String path) throws IOException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
public List<Object> readGenericRecordFiles(String path, Class c) throws IOException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
public void writeGenericRecordFiles(String path, org.apache.avro.Schema schema, Object o) throws Exception
Exceptionpublic void writeGenericRecordFiles(String path, org.apache.avro.Schema schema, List<Object> ol) throws Exception
Exceptionpublic $ParquetSchemaWriter getParquetSchemaWriter(String path, org.apache.avro.Schema schema) throws Exception
Exceptionpublic org.apache.hadoop.fs.Path getParquetWritePath(String path) throws Exception
Exceptionpublic org.apache.hadoop.fs.Path getRandomPath(String path) throws Exception
Exceptionpublic $Hdfs getHdfs()
Copyright © 2021. All rights reserved.