Class ResourceHint
java.lang.Object
org.apache.beam.sdk.transforms.resourcehints.ResourceHint
Provides a definition of a resource hint known to the SDK.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
abstract int
hashCode()
mergeWithOuter
(ResourceHint outer, boolean isSum) Reconciles values of a hint when the hint specified on a transform is also defined in an outer context, for example on a composite transform, or specified in the transform's execution environment.abstract byte[]
toBytes()
Defines how to represent the as bytestring.
-
Constructor Details
-
ResourceHint
public ResourceHint()
-
-
Method Details
-
mergeWithOuter
Reconciles values of a hint when the hint specified on a transform is also defined in an outer context, for example on a composite transform, or specified in the transform's execution environment. Override this method for a custom reconciliation logic. If isSum is true the merge result will be flipped. -
toBytes
public abstract byte[] toBytes()Defines how to represent the as bytestring. -
equals
-
hashCode
public abstract int hashCode()
-