Package org.apache.beam.sdk.managed
Class Managed.ManagedTransform
java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PInput,PCollectionRowTuple>
org.apache.beam.sdk.managed.Managed.ManagedTransform
- All Implemented Interfaces:
Serializable
,HasDisplayData
- Enclosing class:
Managed
public abstract static class Managed.ManagedTransform
extends PTransform<PInput,PCollectionRowTuple>
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.beam.sdk.transforms.PTransform
annotations, displayData, name, resourceHints
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOverride this method to specify how thisPTransform
should be expanded on the givenInputT
.withConfig
(Map<String, Object> config) Use the input Map of configuration arguments to build and instantiate the underlying transform.withConfigUrl
(String configUrl) LikewithConfig(Map)
, but instead extracts the configuration arguments from a specified YAML file location.Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
-
Field Details
-
INPUT
- See Also:
-
-
Constructor Details
-
ManagedTransform
public ManagedTransform()
-
-
Method Details
-
withConfig
Use the input Map of configuration arguments to build and instantiate the underlying transform. The map can ignore nullable parameters, but needs to include all required parameters. Check the underlying transform's schema (SchemaTransformProvider.configurationSchema()
) to see which parameters are available. -
withConfigUrl
LikewithConfig(Map)
, but instead extracts the configuration arguments from a specified YAML file location. -
expand
Description copied from class:PTransform
Override this method to specify how thisPTransform
should be expanded on the givenInputT
.NOTE: This method should not be called directly. Instead apply the
PTransform
should be applied to theInputT
using theapply
method.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:
expand
in classPTransform<PInput,
PCollectionRowTuple>
-