JavaScript is disabled on your browser.
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
org.apache.samza.serializers
Interface Serializer<T>
Type Parameters:
T
- The type of serialized object implementations can write
All Known Subinterfaces:
Serde
<T>
public interface
Serializer<T>
A standard interface for Samza compatible serializers, used for serializing objects to bytes.
Method Summary
Methods
Modifier and Type
Method and Description
byte[]
toBytes
(
T
object)
Serializes given object to an array of bytes.
Method Detail
toBytes
byte[] toBytes(
T
object)
Serializes given object to an array of bytes.
Parameters:
object
- Object of specific type to serialize.
Returns:
An array of bytes representing the object in serialized form.
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method