- Type Parameters:
T - the data type stored in the record
U - the data type to emit
- All Known Subinterfaces:
- DynamoDBTransformer<T>, ICollectionTransformer<T,U>, ITransformer<T,U>
- All Known Implementing Classes:
- BasicJsonTransformer, ElasticsearchTransformer, JsonToByteArrayTransformer, RedshiftTransformer, StringToByteArrayTransformer, StringToStringTransformer
public interface ITransformerBase<T,U>
Base transformer class to provide backwards compatibility with ITransformer
while supporting the ICollectionTransformer.
This class is not meant to be implemented. Instead, implement ITransformer
or ICollectionTransformer depending on the type of PutRecordRequests you are
doing for proper toClass transforms.
- Use ITransformer if each Amazon Kinesis Record contains one object of type T.
- Use ICollectionTransformer if each Amazon Kinesis Record contains a Collection
(batched PutRecordRequests).