Class 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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceHint

        public ResourceHint()
    • 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 class java.lang.Object
      • hashCode

        public abstract int hashCode()
        Overrides:
        hashCode in class java.lang.Object