@Generated(value="org.jsonschema2pojo") public static enum HdfsWriterConfiguration.Compression extends Enum<HdfsWriterConfiguration.Compression>
Modifier and Type | Method and Description |
---|---|
static HdfsWriterConfiguration.Compression |
fromValue(String value) |
String |
toString() |
static HdfsWriterConfiguration.Compression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsWriterConfiguration.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsWriterConfiguration.Compression NONE
public static final HdfsWriterConfiguration.Compression GZIP
public static HdfsWriterConfiguration.Compression[] values()
for (HdfsWriterConfiguration.Compression c : HdfsWriterConfiguration.Compression.values()) System.out.println(c);
public static HdfsWriterConfiguration.Compression valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<HdfsWriterConfiguration.Compression>
public static HdfsWriterConfiguration.Compression fromValue(String value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.