public enum TwoTablesSparkDataFormat extends java.lang.Enum<TwoTablesSparkDataFormat>
Enum Constant and Description |
---|
JSON
Json RDD data format
|
PARQUET
Apache Parquet data format
|
RANDOM
Random data format
|
TEXT
comma separated text format
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toKey() |
static TwoTablesSparkDataFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TwoTablesSparkDataFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final TwoTablesSparkDataFormat JSON
public static final TwoTablesSparkDataFormat PARQUET
public static final TwoTablesSparkDataFormat RANDOM
public static final TwoTablesSparkDataFormat TEXT
public java.lang.String toKey()
public static TwoTablesSparkDataFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TwoTablesSparkDataFormat[] values()
for (TwoTablesSparkDataFormat c : TwoTablesSparkDataFormat.values()) System.out.println(c);
Copyright © 2016, 2018 Oracle and/or its affiliates. All Rights Reserved.