Packages

trait ModifiableAsyncReply extends BasicAsyncReply

Trait ModifiableAsyncReply extends BasicAsyncReply and provides a mechanism to modify the HTTP response received from an asynchronous service call. This trait is designed to be mixed into classes that require custom handling of the response data.

The primary purpose of this trait is to allow modification of the response before it is processed further. This is particularly useful in scenarios where the response needs to be transformed or certain fields need to be renamed to comply with specific requirements or constraints.

In this implementation, the queryForResult method is overridden and marked as final to prevent further overriding. This ensures that the response modification logic is consistently applied across all subclasses.

Self Type
ModifiableAsyncReply with SynapseMLLogging
Note

This trait is designed to be used with the SynapseMLLogging trait for consistent logging.

Linear Supertypes
BasicAsyncReply, HasAsyncReply, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModifiableAsyncReply
  2. BasicAsyncReply
  3. HasAsyncReply
  4. Params
  5. Serializable
  6. Serializable
  7. Identifiable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def copy(extra: ParamMap): Params
    Definition Classes
    Params
  2. abstract val uid: String
    Definition Classes
    Identifiable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val backoffs: IntArrayParam
    Definition Classes
    HasAsyncReply
  7. final def clear(param: Param[_]): ModifiableAsyncReply.this
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  10. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  14. def explainParams(): String
    Definition Classes
    Params
  15. def extractHeaderValuesForPolling(request: HTTPRequestData): Map[String, String]
    Attributes
    protected
    Definition Classes
    HasAsyncReply
  16. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  17. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  20. def getBackoffs: Array[Int]

    Definition Classes
    HasAsyncReply
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  23. def getInitialPollingDelay: Int

    Definition Classes
    HasAsyncReply
  24. def getMaxPollingRetries: Int

    Definition Classes
    HasAsyncReply
  25. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  26. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  27. def getPollingDelay: Int

    Definition Classes
    HasAsyncReply
  28. def getSuppressMaxRetriesException: Boolean

    Definition Classes
    HasAsyncReply
  29. def handlingFunc(client: CloseableHttpClient, request: HTTPRequestData): HTTPResponseData
    Attributes
    protected
    Definition Classes
    BasicAsyncReplyHasAsyncReply
  30. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  31. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. val initialPollingDelay: IntParam
    Definition Classes
    HasAsyncReply
  34. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  37. val maxPollingRetries: IntParam
    Definition Classes
    HasAsyncReply
  38. def modifyPollingURI(originalURI: URI): URI
    Attributes
    protected
    Definition Classes
    BasicAsyncReply
  39. def modifyResponse(response: Option[HTTPResponseData]): Option[HTTPResponseData]
    Attributes
    protected
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  44. val pollingDelay: IntParam
    Definition Classes
    HasAsyncReply
  45. final def queryForResult(headers: Map[String, String], client: CloseableHttpClient, location: URI): Option[HTTPResponseData]

    Queries for the result of an asynchronous service call and applies the response modification logic.

    Queries for the result of an asynchronous service call and applies the response modification logic.

    Attributes
    protected
    Definition Classes
    ModifiableAsyncReplyBasicAsyncReplyHasAsyncReply
  46. final def set(paramPair: ParamPair[_]): ModifiableAsyncReply.this
    Attributes
    protected
    Definition Classes
    Params
  47. final def set(param: String, value: Any): ModifiableAsyncReply.this
    Attributes
    protected
    Definition Classes
    Params
  48. final def set[T](param: Param[T], value: T): ModifiableAsyncReply.this
    Definition Classes
    Params
  49. def setBackoffs(value: Array[Int]): ModifiableAsyncReply.this

    Definition Classes
    HasAsyncReply
  50. final def setDefault(paramPairs: ParamPair[_]*): ModifiableAsyncReply.this
    Attributes
    protected
    Definition Classes
    Params
  51. final def setDefault[T](param: Param[T], value: T): ModifiableAsyncReply.this
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  52. def setInitialPollingDelay(value: Int): ModifiableAsyncReply.this

    Definition Classes
    HasAsyncReply
  53. def setMaxPollingRetries(value: Int): ModifiableAsyncReply.this

    Definition Classes
    HasAsyncReply
  54. def setPollingDelay(value: Int): ModifiableAsyncReply.this

    Definition Classes
    HasAsyncReply
  55. def setSuppressMaxRetriesException(value: Boolean): ModifiableAsyncReply.this

    Definition Classes
    HasAsyncReply
  56. val suppressMaxRetriesException: BooleanParam
    Definition Classes
    HasAsyncReply
  57. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BasicAsyncReply

Inherited from HasAsyncReply

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

setParam

Ungrouped