@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CSVMappingParameters extends Object implements Serializable, Cloneable, StructuredPojo
For a SQL-based Kinesis Data Analytics application, provides additional mapping information when the record format uses delimiters, such as CSV. For example, the following sample records use CSV format, where the records use the '\n' as the row delimiter and a comma (",") as the column delimiter:
"name1", "address1"
"name2", "address2"
Constructor and Description |
---|
CSVMappingParameters() |
Modifier and Type | Method and Description |
---|---|
CSVMappingParameters |
clone() |
boolean |
equals(Object obj) |
String |
getRecordColumnDelimiter()
The column delimiter.
|
String |
getRecordRowDelimiter()
The row delimiter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecordColumnDelimiter(String recordColumnDelimiter)
The column delimiter.
|
void |
setRecordRowDelimiter(String recordRowDelimiter)
The row delimiter.
|
String |
toString()
Returns a string representation of this object.
|
CSVMappingParameters |
withRecordColumnDelimiter(String recordColumnDelimiter)
The column delimiter.
|
CSVMappingParameters |
withRecordRowDelimiter(String recordRowDelimiter)
The row delimiter.
|
public void setRecordRowDelimiter(String recordRowDelimiter)
The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.
recordRowDelimiter
- The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.public String getRecordRowDelimiter()
The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.
public CSVMappingParameters withRecordRowDelimiter(String recordRowDelimiter)
The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.
recordRowDelimiter
- The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.public void setRecordColumnDelimiter(String recordColumnDelimiter)
The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.
recordColumnDelimiter
- The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.public String getRecordColumnDelimiter()
The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.
public CSVMappingParameters withRecordColumnDelimiter(String recordColumnDelimiter)
The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.
recordColumnDelimiter
- The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.public String toString()
toString
in class Object
Object.toString()
public CSVMappingParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.