public class OutputSerialization extends Object implements Serializable, Cloneable
Constructor and Description |
---|
OutputSerialization() |
Modifier and Type | Method and Description |
---|---|
OutputSerialization |
clone() |
boolean |
equals(Object obj) |
CSVOutput |
getCsv() |
JSONOutput |
getJson()
Specifies JSON as request's output serialization format.
|
int |
hashCode() |
void |
setCsv(CSVOutput csv)
Sets the serialization of CSV-encoded Select results.
|
void |
setJson(JSONOutput json)
Specifies JSON as request's output serialization format.
|
String |
toString() |
OutputSerialization |
withCsv(CSVOutput csvOutput)
Sets the serialization of CSV-encoded Select results.
|
OutputSerialization |
withJson(JSONOutput json)
Specifies JSON as request's output serialization format.
|
public CSVOutput getCsv()
public void setCsv(CSVOutput csv)
csv
- The new csv value.public OutputSerialization withCsv(CSVOutput csvOutput)
csvOutput
- The new csv value.public JSONOutput getJson()
public void setJson(JSONOutput json)
public OutputSerialization withJson(JSONOutput json)
public OutputSerialization clone()