Package org.apache.parquet.cli.csv
Class AvroCSV
- java.lang.Object
-
- org.apache.parquet.cli.csv.AvroCSV
-
public class AvroCSV extends Object
-
-
Constructor Summary
Constructors Constructor Description AvroCSV()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.avro.SchemainferNullableSchema(String name, InputStream incoming, CSVProperties props)static org.apache.avro.SchemainferNullableSchema(String name, InputStream incoming, CSVProperties props, Set<String> requiredFields)static org.apache.avro.SchemainferSchema(String name, InputStream incoming, CSVProperties props)static org.apache.avro.SchemainferSchema(String name, InputStream incoming, CSVProperties props, Set<String> requiredFields)
-
-
-
Method Detail
-
inferNullableSchema
public static org.apache.avro.Schema inferNullableSchema(String name, InputStream incoming, CSVProperties props) throws IOException
- Throws:
IOException
-
inferNullableSchema
public static org.apache.avro.Schema inferNullableSchema(String name, InputStream incoming, CSVProperties props, Set<String> requiredFields) throws IOException
- Throws:
IOException
-
inferSchema
public static org.apache.avro.Schema inferSchema(String name, InputStream incoming, CSVProperties props) throws IOException
- Throws:
IOException
-
inferSchema
public static org.apache.avro.Schema inferSchema(String name, InputStream incoming, CSVProperties props, Set<String> requiredFields) throws IOException
- Throws:
IOException
-
-