public static interface RunnerApi.PTransformOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsInputs(String key)
(Required) A map from local names of inputs (unique only with this map, and
likely embedded in the transform payload and serialized user code) to
PCollection ids.
|
boolean |
containsOutputs(String key)
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
|
RunnerApi.DisplayData |
getDisplayData()
(Optional) Static display data for this PTransform application.
|
RunnerApi.DisplayDataOrBuilder |
getDisplayDataOrBuilder()
(Optional) Static display data for this PTransform application.
|
Map<String,String> |
getInputs()
Deprecated.
|
int |
getInputsCount()
(Required) A map from local names of inputs (unique only with this map, and
likely embedded in the transform payload and serialized user code) to
PCollection ids.
|
Map<String,String> |
getInputsMap()
(Required) A map from local names of inputs (unique only with this map, and
likely embedded in the transform payload and serialized user code) to
PCollection ids.
|
String |
getInputsOrDefault(String key,
String defaultValue)
(Required) A map from local names of inputs (unique only with this map, and
likely embedded in the transform payload and serialized user code) to
PCollection ids.
|
String |
getInputsOrThrow(String key)
(Required) A map from local names of inputs (unique only with this map, and
likely embedded in the transform payload and serialized user code) to
PCollection ids.
|
Map<String,String> |
getOutputs()
Deprecated.
|
int |
getOutputsCount()
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
|
Map<String,String> |
getOutputsMap()
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
|
String |
getOutputsOrDefault(String key,
String defaultValue)
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
|
String |
getOutputsOrThrow(String key)
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
|
RunnerApi.FunctionSpec |
getSpec()
(Optional) A URN and payload that, together, fully defined the semantics
of this transform.
|
RunnerApi.FunctionSpecOrBuilder |
getSpecOrBuilder()
(Optional) A URN and payload that, together, fully defined the semantics
of this transform.
|
String |
getSubtransforms(int index)
(Optional) if this node is a composite, a list of the ids of
transforms that it contains.
|
com.google.protobuf.ByteString |
getSubtransformsBytes(int index)
(Optional) if this node is a composite, a list of the ids of
transforms that it contains.
|
int |
getSubtransformsCount()
(Optional) if this node is a composite, a list of the ids of
transforms that it contains.
|
List<String> |
getSubtransformsList()
(Optional) if this node is a composite, a list of the ids of
transforms that it contains.
|
String |
getUniqueName()
(Required) A unique name for the application node.
|
com.google.protobuf.ByteString |
getUniqueNameBytes()
(Required) A unique name for the application node.
|
boolean |
hasDisplayData()
(Optional) Static display data for this PTransform application.
|
boolean |
hasSpec()
(Optional) A URN and payload that, together, fully defined the semantics
of this transform.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getUniqueName()
(Required) A unique name for the application node. Ideally, this should be stable over multiple evolutions of a pipeline for the purposes of logging and associating pipeline state with a node, etc. If it is not stable, then the runner decides what will happen. But, most importantly, it must always be here and be unique, even if it is autogenerated.
string unique_name = 5;com.google.protobuf.ByteString getUniqueNameBytes()
(Required) A unique name for the application node. Ideally, this should be stable over multiple evolutions of a pipeline for the purposes of logging and associating pipeline state with a node, etc. If it is not stable, then the runner decides what will happen. But, most importantly, it must always be here and be unique, even if it is autogenerated.
string unique_name = 5;boolean hasSpec()
(Optional) A URN and payload that, together, fully defined the semantics of this transform. If absent, this must be an "anonymous" composite transform. For primitive transform in the Runner API, this is required, and the payloads are well-defined messages. When the URN indicates ParDo it is a ParDoPayload, and so on. TODO: document the standardized URNs and payloads TODO: separate standardized payloads into a separate proto file For some special composite transforms, the payload is also officially defined: - when the URN is "urn:beam:transforms:combine" it is a CombinePayload
.org.apache.beam.runner_api.v1.FunctionSpec spec = 1;RunnerApi.FunctionSpec getSpec()
(Optional) A URN and payload that, together, fully defined the semantics of this transform. If absent, this must be an "anonymous" composite transform. For primitive transform in the Runner API, this is required, and the payloads are well-defined messages. When the URN indicates ParDo it is a ParDoPayload, and so on. TODO: document the standardized URNs and payloads TODO: separate standardized payloads into a separate proto file For some special composite transforms, the payload is also officially defined: - when the URN is "urn:beam:transforms:combine" it is a CombinePayload
.org.apache.beam.runner_api.v1.FunctionSpec spec = 1;RunnerApi.FunctionSpecOrBuilder getSpecOrBuilder()
(Optional) A URN and payload that, together, fully defined the semantics of this transform. If absent, this must be an "anonymous" composite transform. For primitive transform in the Runner API, this is required, and the payloads are well-defined messages. When the URN indicates ParDo it is a ParDoPayload, and so on. TODO: document the standardized URNs and payloads TODO: separate standardized payloads into a separate proto file For some special composite transforms, the payload is also officially defined: - when the URN is "urn:beam:transforms:combine" it is a CombinePayload
.org.apache.beam.runner_api.v1.FunctionSpec spec = 1;List<String> getSubtransformsList()
(Optional) if this node is a composite, a list of the ids of transforms that it contains.
repeated string subtransforms = 2;int getSubtransformsCount()
(Optional) if this node is a composite, a list of the ids of transforms that it contains.
repeated string subtransforms = 2;String getSubtransforms(int index)
(Optional) if this node is a composite, a list of the ids of transforms that it contains.
repeated string subtransforms = 2;com.google.protobuf.ByteString getSubtransformsBytes(int index)
(Optional) if this node is a composite, a list of the ids of transforms that it contains.
repeated string subtransforms = 2;int getInputsCount()
(Required) A map from local names of inputs (unique only with this map, and likely embedded in the transform payload and serialized user code) to PCollection ids. The payload for this transform may clarify the relationship of these inputs. For example: - for a Flatten transform they are merged - for a ParDo transform, some may be side inputs All inputs are recorded here so that the topological ordering of the graph is consistent whether or not the payload is understood.
map<string, string> inputs = 3;boolean containsInputs(String key)
(Required) A map from local names of inputs (unique only with this map, and likely embedded in the transform payload and serialized user code) to PCollection ids. The payload for this transform may clarify the relationship of these inputs. For example: - for a Flatten transform they are merged - for a ParDo transform, some may be side inputs All inputs are recorded here so that the topological ordering of the graph is consistent whether or not the payload is understood.
map<string, string> inputs = 3;@Deprecated Map<String,String> getInputs()
getInputsMap() instead.Map<String,String> getInputsMap()
(Required) A map from local names of inputs (unique only with this map, and likely embedded in the transform payload and serialized user code) to PCollection ids. The payload for this transform may clarify the relationship of these inputs. For example: - for a Flatten transform they are merged - for a ParDo transform, some may be side inputs All inputs are recorded here so that the topological ordering of the graph is consistent whether or not the payload is understood.
map<string, string> inputs = 3;String getInputsOrDefault(String key, String defaultValue)
(Required) A map from local names of inputs (unique only with this map, and likely embedded in the transform payload and serialized user code) to PCollection ids. The payload for this transform may clarify the relationship of these inputs. For example: - for a Flatten transform they are merged - for a ParDo transform, some may be side inputs All inputs are recorded here so that the topological ordering of the graph is consistent whether or not the payload is understood.
map<string, string> inputs = 3;String getInputsOrThrow(String key)
(Required) A map from local names of inputs (unique only with this map, and likely embedded in the transform payload and serialized user code) to PCollection ids. The payload for this transform may clarify the relationship of these inputs. For example: - for a Flatten transform they are merged - for a ParDo transform, some may be side inputs All inputs are recorded here so that the topological ordering of the graph is consistent whether or not the payload is understood.
map<string, string> inputs = 3;int getOutputsCount()
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
The URN or payload for this transform node may clarify the type and
relationship of these outputs. For example:
- for a ParDo transform, these are tags on PCollections, which will be
embedded in the DoFn.
map<string, string> outputs = 4;boolean containsOutputs(String key)
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
The URN or payload for this transform node may clarify the type and
relationship of these outputs. For example:
- for a ParDo transform, these are tags on PCollections, which will be
embedded in the DoFn.
map<string, string> outputs = 4;@Deprecated Map<String,String> getOutputs()
getOutputsMap() instead.Map<String,String> getOutputsMap()
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
The URN or payload for this transform node may clarify the type and
relationship of these outputs. For example:
- for a ParDo transform, these are tags on PCollections, which will be
embedded in the DoFn.
map<string, string> outputs = 4;String getOutputsOrDefault(String key, String defaultValue)
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
The URN or payload for this transform node may clarify the type and
relationship of these outputs. For example:
- for a ParDo transform, these are tags on PCollections, which will be
embedded in the DoFn.
map<string, string> outputs = 4;String getOutputsOrThrow(String key)
(Required) A map from local names of outputs (unique only within this map,
and likely embedded in the transform payload and serialized user code)
to PCollection ids.
The URN or payload for this transform node may clarify the type and
relationship of these outputs. For example:
- for a ParDo transform, these are tags on PCollections, which will be
embedded in the DoFn.
map<string, string> outputs = 4;boolean hasDisplayData()
(Optional) Static display data for this PTransform application. If there is none, or it is not relevant (such as use by the Fn API) then it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 6;RunnerApi.DisplayData getDisplayData()
(Optional) Static display data for this PTransform application. If there is none, or it is not relevant (such as use by the Fn API) then it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 6;RunnerApi.DisplayDataOrBuilder getDisplayDataOrBuilder()
(Optional) Static display data for this PTransform application. If there is none, or it is not relevant (such as use by the Fn API) then it may be omitted.
.org.apache.beam.runner_api.v1.DisplayData display_data = 6;Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.