public abstract static class ParquetIO.ReadFiles
extends <any>
ParquetIO.readFiles(Schema)
.Modifier and Type | Class and Description |
---|---|
static class |
ParquetIO.ReadFiles.BlockTracker |
Constructor and Description |
---|
ReadFiles() |
Modifier and Type | Method and Description |
---|---|
PCollection<GenericRecord> |
expand(PCollection<FileIO.ReadableFile> input) |
ParquetIO.ReadFiles |
withAvroDataModel(GenericData model)
Define the Avro data model; see
AvroParquetReader.Builder#withDataModel(GenericData) . |
ParquetIO.ReadFiles |
withBeamSchemas(boolean inferBeamSchema) |
ParquetIO.ReadFiles |
withConfiguration(java.util.Map<java.lang.String,java.lang.String> configuration)
Specify Hadoop configuration for ParquetReader.
|
ParquetIO.ReadFiles |
withProjection(Schema projectionSchema,
Schema encoderSchema) |
ParquetIO.ReadFiles |
withSplit()
Enable the Splittable reading.
|
public ParquetIO.ReadFiles withAvroDataModel(GenericData model)
AvroParquetReader.Builder#withDataModel(GenericData)
.public ParquetIO.ReadFiles withProjection(Schema projectionSchema, Schema encoderSchema)
public ParquetIO.ReadFiles withConfiguration(java.util.Map<java.lang.String,java.lang.String> configuration)
@Experimental(value=SCHEMAS) public ParquetIO.ReadFiles withBeamSchemas(boolean inferBeamSchema)
public ParquetIO.ReadFiles withSplit()
public PCollection<GenericRecord> expand(PCollection<FileIO.ReadableFile> input)