@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Serializer extends Object implements Serializable, Cloneable, StructuredPojo
The serializer that you want Kinesis Data Firehose to use to convert data to the target format before writing it to Amazon S3. Kinesis Data Firehose supports two types of serializers: the ORC SerDe and the Parquet SerDe.
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
Serializer |
clone() |
boolean |
equals(Object obj) |
OrcSerDe |
getOrcSerDe()
A serializer to use for converting data to the ORC format before storing it in Amazon S3.
|
ParquetSerDe |
getParquetSerDe()
A serializer to use for converting data to the Parquet format before storing it in Amazon S3.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOrcSerDe(OrcSerDe orcSerDe)
A serializer to use for converting data to the ORC format before storing it in Amazon S3.
|
void |
setParquetSerDe(ParquetSerDe parquetSerDe)
A serializer to use for converting data to the Parquet format before storing it in Amazon S3.
|
String |
toString()
Returns a string representation of this object.
|
Serializer |
withOrcSerDe(OrcSerDe orcSerDe)
A serializer to use for converting data to the ORC format before storing it in Amazon S3.
|
Serializer |
withParquetSerDe(ParquetSerDe parquetSerDe)
A serializer to use for converting data to the Parquet format before storing it in Amazon S3.
|
public void setParquetSerDe(ParquetSerDe parquetSerDe)
A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see Apache Parquet.
parquetSerDe
- A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more
information, see Apache Parquet.public ParquetSerDe getParquetSerDe()
A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see Apache Parquet.
public Serializer withParquetSerDe(ParquetSerDe parquetSerDe)
A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see Apache Parquet.
parquetSerDe
- A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more
information, see Apache Parquet.public void setOrcSerDe(OrcSerDe orcSerDe)
A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see Apache ORC.
orcSerDe
- A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more
information, see Apache ORC.public OrcSerDe getOrcSerDe()
A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see Apache ORC.
public Serializer withOrcSerDe(OrcSerDe orcSerDe)
A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see Apache ORC.
orcSerDe
- A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more
information, see Apache ORC.public String toString()
toString
in class Object
Object.toString()
public Serializer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.