@Immutable public class Format extends Object
The data format used for encoding the data in a Dataset
.
There are a small number of formats provided. The default is
Formats.AVRO
, which is used when you do not explicitly configure a
format.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CompressionType |
getDefaultCompressionType()
Get the default
CompressionType supported by this Format . |
String |
getExtension()
Get the extension for use in filenames.
|
String |
getName()
Get the format's name.
|
Set<CompressionType> |
getSupportedCompressionTypes()
Get the
CompressionType s supported by this Format . |
int |
hashCode() |
String |
toString() |
public String getName()
public String getExtension()
public Set<CompressionType> getSupportedCompressionTypes()
CompressionType
s supported by this Format
.public CompressionType getDefaultCompressionType()
CompressionType
supported by this Format
.Copyright © 2013–2015. All rights reserved.