T - public abstract class RedshiftTransformer<T> extends JsonToByteArrayTransformer<T>
inputClass| Constructor and Description |
|---|
RedshiftTransformer(Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
fromClass(T record)
Transform record from its original class to final output class.
|
abstract String |
toDelimitedString(T recordObject)
This method requires implementing classes to output a string representation of the data model
that is compatible with Amazon Redshift.
|
toClasspublic abstract String toDelimitedString(T recordObject)
recordObject - the instance of the data model to convert to delimited string.public byte[] fromClass(T record)
ITransformerBasefromClass in interface ITransformerBase<T,byte[]>fromClass in class JsonToByteArrayTransformer<T>record - data as its original classCopyright © 2016. All rights reserved.