com.amazonaws.services.sagemaker.sparksdk.transformation.serializers
Returns com.amazonaws.services.sagemaker.sparksdk.transformation.ContentTypes.PROTOBUF
the name of the features column
The schema for Row objects being serialized by RequestRowSerializer#serializeRow
The schema for Row objects being serialized by RequestRowSerializer#serializeRow
The schema of Rows being serialized.
The schema of Rows being serialized. This parameter is Optional as the schema may not be known when this serializer is constructed.
Serializes an object to an Array of Record-IO encoded Protobuf bytes for transformation by a SageMaker endpoint
Serializes an object to an Array of Record-IO encoded Protobuf bytes for transformation by a SageMaker endpoint
The row to serialize
An Array[Byte]
Sets the rowSchema for this RequestRowSerializer.
Sets the rowSchema for this RequestRowSerializer. Invokes validateSchema on the specified schema.
Validates that the specified schema contains a Vector column with name featuresColumnName.
Validates that the specified schema contains a Vector column with name featuresColumnName.
java.lang.IllegalArgumentException
if the specified schema is invalid
A RequestRowSerializer for converting labeled rows to SageMaker Protobuf-in-recordio request data.