Class AddFields.Inner<T>
java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<T>,PCollection<Row>>
 
org.apache.beam.sdk.schemas.transforms.AddFields.Inner<T>
- All Implemented Interfaces:
- Serializable,- HasDisplayData
- Enclosing class:
- AddFields
Inner PTransform for AddFields.
- See Also:
- 
Field SummaryFields inherited from class org.apache.beam.sdk.transforms.PTransformannotations, displayData, name, resourceHints
- 
Method SummaryModifier and TypeMethodDescriptionexpand(PCollection<T> input) Override this method to specify how thisPTransformshould be expanded on the givenInputT.field(String fieldName, Schema.FieldType fieldType) Add a new field of the specified type.field(String fieldName, Schema.FieldType fieldType, Object defaultValue) Add a new field of the specified type.Methods inherited from class org.apache.beam.sdk.transforms.PTransformaddAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
- 
Method Details- 
fieldAdd a new field of the specified type. The new field will be nullable and will be filled in with null values.
- 
fieldAdd a new field of the specified type. The new field will be filled in with the specified value.
- 
expandDescription copied from class:PTransformOverride this method to specify how thisPTransformshould be expanded on the givenInputT.NOTE: This method should not be called directly. Instead apply the PTransformshould be applied to theInputTusing theapplymethod.Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods). - Specified by:
- expandin class- PTransform<PCollection<T>,- PCollection<Row>> 
 
 
-