Class ResourceHint
- java.lang.Object
-
- org.apache.beam.sdk.transforms.resourcehints.ResourceHint
-
public abstract class ResourceHint extends java.lang.Object
Provides a definition of a resource hint known to the SDK.
-
-
Constructor Summary
Constructors Constructor Description ResourceHint()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
equals(@Nullable java.lang.Object other)
abstract int
hashCode()
ResourceHint
mergeWithOuter(ResourceHint outer)
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.
-
-
-
Method Detail
-
mergeWithOuter
public ResourceHint mergeWithOuter(ResourceHint outer)
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.
-
toBytes
public abstract byte[] toBytes()
Defines how to represent the as bytestring.
-
equals
public abstract boolean equals(@Nullable java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public abstract int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-