|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cloudera.cdk.data.Formats
public class Formats
Contains constant definitions for the standard Format
instances supported
by the library. AVRO
is the default format.
Field Summary | |
---|---|
static Format |
AVRO
AVRO: the Avro row-oriented format |
static Format |
CSV
CSV: comma-separated values (read-only). |
static Format |
PARQUET
PARQUET: the Parquet columnar format |
Method Summary | |
---|---|
static Format |
fromString(String formatName)
Return a Format for the format name specified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Format AVRO
public static final Format PARQUET
public static final Format CSV
Method Detail |
---|
public static Format fromString(String formatName)
Format
for the format name specified. If formatName
is not a valid name, an IllegalArgumentException is thrown. Currently the
formats avro,
csv, and
parquetare supported. Format names are case sensitive.
IllegalArgumentException
- if formatName
is not a valid format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |