Class

com.amazonaws.services.sagemaker.sparksdk.transformation.deserializers

ProtobufResponseRowDeserializer

Related Doc: package deserializers

Permalink

class ProtobufResponseRowDeserializer extends ResponseRowDeserializer

A ResponseRowDeserializer for converting SageMaker Protobuf-in-recordio response data to Spark rows.

Linear Supertypes
ResponseRowDeserializer, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProtobufResponseRowDeserializer
  2. ResponseRowDeserializer
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProtobufResponseRowDeserializer(schema: StructType, protobufKeys: Option[Seq[String]] = None)

    Permalink

    schema

    The schema of rows in the response.

    protobufKeys

    The keys for each output in the Protobuf response.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val accepts: String

    Permalink

    Returns com.amazonaws.services.sagemaker.sparksdk.transformation.ContentTypes.PROTOBUF

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def deserializeResponse(responseData: Array[Byte]): Iterator[Row]

    Permalink

    Deserialize a SageMaker response containing a byte array of record-IO encoded SageMaker Protobuf records.

    Deserialize a SageMaker response containing a byte array of record-IO encoded SageMaker Protobuf records.

    responseData

    The Array[Byte] containing the Protobuf-in-recordIO response

    returns

    An Iterator over deserialized Rows

    Definition Classes
    ProtobufResponseRowDeserializerResponseRowDeserializer
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. val protobufKeys: Option[Seq[String]]

    Permalink

    The keys for each output in the Protobuf response.

  18. val schema: StructType

    Permalink

    The schema of rows in the response.

    The schema of rows in the response.

    Definition Classes
    ProtobufResponseRowDeserializerResponseRowDeserializer
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ResponseRowDeserializer

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped