Modifier and Type | Method and Description |
---|---|
static <T> FileSource.FileSourceBuilder<T> |
FileSource.forRecordStreamFormat(StreamFormat<T> streamFormat,
Path... paths)
Builds a new
FileSource using a StreamFormat to read record-by-record from a
file stream. |
Constructor and Description |
---|
StreamFormatAdapter(StreamFormat<T> streamFormat) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleStreamFormat<T>
A simple version of the
StreamFormat , for formats that are not splittable. |
class |
TextLineFormat
Deprecated.
Please use
TextLineInputFormat . |
class |
TextLineInputFormat
A reader format that text lines from a file.
|
Modifier and Type | Class and Description |
---|---|
class |
CsvReaderFormat<T>
A
StreamFormat for reading CSV files. |
Modifier and Type | Method and Description |
---|---|
static StreamFormat<org.apache.avro.generic.GenericRecord> |
AvroParquetReaders.forGenericRecord(org.apache.avro.Schema schema)
Creates a new
AvroParquetRecordFormat that reads the parquet file into Avro GenericRecords . |
static <T> StreamFormat<T> |
AvroParquetReaders.forReflectRecord(Class<T> typeClass)
Creates a new
AvroParquetRecordFormat that reads the parquet file into Avro records
via reflection. |
static <T extends org.apache.avro.specific.SpecificRecordBase> |
AvroParquetReaders.forSpecificRecord(Class<T> typeClass)
Creates a new
AvroParquetRecordFormat that reads the parquet file into Avro SpecificRecords . |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.