public class InputSerialization extends Object implements Serializable, Cloneable
Constructor and Description |
---|
InputSerialization() |
Modifier and Type | Method and Description |
---|---|
InputSerialization |
clone() |
boolean |
equals(Object obj) |
String |
getCompressionType()
Specifies object's compression format.
|
CSVInput |
getCsv() |
JSONInput |
getJson()
Specifies JSON as object's input serialization format.
|
ParquetInput |
getParquet()
Specifies Parquet as object's input serialization format.
|
int |
hashCode() |
void |
setCompressionType(CompressionType compressionType)
Specifies object's compression format.
|
void |
setCompressionType(String compressionType)
Specifies object's compression format.
|
void |
setCsv(CSVInput csv)
Sets the serialization of a CSV-encoded object.
|
void |
setJson(JSONInput json)
Specifies JSON as object's input serialization format.
|
void |
setParquet(ParquetInput parquet)
Specifies Parquet as object's input serialization format.
|
String |
toString() |
InputSerialization |
withCompressionType(CompressionType compressionType)
Specifies object's compression format.
|
InputSerialization |
withCompressionType(String compressionType)
Specifies object's compression format.
|
InputSerialization |
withCsv(CSVInput csvInput)
Sets the serialization of a CSV-encoded object.
|
InputSerialization |
withJson(JSONInput json)
Specifies JSON as object's input serialization format.
|
InputSerialization |
withParquet(ParquetInput parquet)
Specifies Parquet as object's input serialization format.
|
public CSVInput getCsv()
public void setCsv(CSVInput csv)
csv
- The new csv value.public InputSerialization withCsv(CSVInput csvInput)
csvInput
- The new csv value.public JSONInput getJson()
public void setJson(JSONInput json)
public InputSerialization withJson(JSONInput json)
public ParquetInput getParquet()
public void setParquet(ParquetInput parquet)
public InputSerialization withParquet(ParquetInput parquet)
public String getCompressionType()
public void setCompressionType(String compressionType)
public void setCompressionType(CompressionType compressionType)
public InputSerialization withCompressionType(String compressionType)
public InputSerialization withCompressionType(CompressionType compressionType)
public InputSerialization clone()
Copyright © 2020. All rights reserved.