public class StringToByteArrayTransformer extends Object implements ITransformer<String,byte[]>
| Constructor and Description |
|---|
StringToByteArrayTransformer() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
fromClass(String record)
Transform record from its original class to final output class.
|
String |
toClass(com.amazonaws.services.kinesis.model.Record record)
Transform record into an object of its original class.
|
public String toClass(com.amazonaws.services.kinesis.model.Record record)
ITransformertoClass in interface ITransformer<String,byte[]>record - raw record from the Amazon Kinesis streampublic byte[] fromClass(String record)
ITransformerBasefromClass in interface ITransformerBase<String,byte[]>record - data as its original classCopyright © 2016. All rights reserved.