Class AvroIO.ReadAll<T>
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,org.apache.beam.sdk.values.PCollection<T>>
-
- org.apache.beam.sdk.extensions.avro.io.AvroIO.ReadAll<T>
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- AvroIO
@Deprecated public abstract static class AvroIO.ReadAll<T> extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,org.apache.beam.sdk.values.PCollection<T>>Deprecated.SeeAvroIO.readAll(Class)for details.Implementation ofAvroIO.readAll(java.lang.Class<T>).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadAll()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.beam.sdk.values.PCollection<T>expand(org.apache.beam.sdk.values.PCollection<java.lang.String> input)Deprecated.voidpopulateDisplayData(org.apache.beam.sdk.transforms.display.DisplayData.Builder builder)Deprecated.AvroIO.ReadAll<T>watchForNewFiles(org.joda.time.Duration pollInterval, org.apache.beam.sdk.transforms.Watch.Growth.TerminationCondition<java.lang.String,?> terminationCondition)Deprecated.AvroIO.ReadAll<T>withBeamSchemas(boolean withBeamSchemas)Deprecated.If set to true, a Beam schema will be inferred from the AVRO schema.AvroIO.ReadAll<T>withDesiredBundleSizeBytes(long desiredBundleSizeBytes)Deprecated.Set a value for the bundle size for parallel reads.AvroIO.ReadAll<T>withEmptyMatchTreatment(org.apache.beam.sdk.io.fs.EmptyMatchTreatment treatment)Deprecated.AvroIO.ReadAll<T>withMatchConfiguration(org.apache.beam.sdk.io.FileIO.MatchConfiguration configuration)Deprecated.Sets theFileIO.MatchConfiguration.-
Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, setDisplayData, setResourceHints, toString, validate, validate
-
-
-
-
Method Detail
-
withMatchConfiguration
public AvroIO.ReadAll<T> withMatchConfiguration(org.apache.beam.sdk.io.FileIO.MatchConfiguration configuration)
Deprecated.Sets theFileIO.MatchConfiguration.
-
withEmptyMatchTreatment
public AvroIO.ReadAll<T> withEmptyMatchTreatment(org.apache.beam.sdk.io.fs.EmptyMatchTreatment treatment)
Deprecated.
-
watchForNewFiles
public AvroIO.ReadAll<T> watchForNewFiles(org.joda.time.Duration pollInterval, org.apache.beam.sdk.transforms.Watch.Growth.TerminationCondition<java.lang.String,?> terminationCondition)
Deprecated.
-
withDesiredBundleSizeBytes
public AvroIO.ReadAll<T> withDesiredBundleSizeBytes(long desiredBundleSizeBytes)
Deprecated.Set a value for the bundle size for parallel reads. Default is 64 MB. You may want to use a lower value (e.g. 1 MB) for streaming applications.
-
withBeamSchemas
public AvroIO.ReadAll<T> withBeamSchemas(boolean withBeamSchemas)
Deprecated.If set to true, a Beam schema will be inferred from the AVRO schema. This allows the output to be used by SQL and by the schema-transform library.
-
expand
public org.apache.beam.sdk.values.PCollection<T> expand(org.apache.beam.sdk.values.PCollection<java.lang.String> input)
Deprecated.- Specified by:
expandin classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,org.apache.beam.sdk.values.PCollection<T>>
-
populateDisplayData
public void populateDisplayData(org.apache.beam.sdk.transforms.display.DisplayData.Builder builder)
Deprecated.- Specified by:
populateDisplayDatain interfaceorg.apache.beam.sdk.transforms.display.HasDisplayData- Overrides:
populateDisplayDatain classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,org.apache.beam.sdk.values.PCollection<T>>
-
-