public static enum SparkBigQueryConfig.IntermediateFormat extends Enum<SparkBigQueryConfig.IntermediateFormat>
| Enum Constant and Description |
|---|
AVRO |
AVRO_2_3 |
ORC |
PARQUET |
PARQUET_LIST_INFERENCE_ENABLED |
| Modifier and Type | Method and Description |
|---|---|
static SparkBigQueryConfig.IntermediateFormat |
from(String format,
String sparkVersion,
org.apache.spark.sql.internal.SQLConf sqlConf,
boolean validateSparkAvro,
boolean enableListInferenceForParquetMode) |
String |
getDataSource() |
String |
getFileSuffix() |
com.google.cloud.bigquery.FormatOptions |
getFormatOptions() |
static SparkBigQueryConfig.IntermediateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SparkBigQueryConfig.IntermediateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SparkBigQueryConfig.IntermediateFormat AVRO
public static final SparkBigQueryConfig.IntermediateFormat AVRO_2_3
public static final SparkBigQueryConfig.IntermediateFormat ORC
public static final SparkBigQueryConfig.IntermediateFormat PARQUET
public static final SparkBigQueryConfig.IntermediateFormat PARQUET_LIST_INFERENCE_ENABLED
public static SparkBigQueryConfig.IntermediateFormat[] values()
for (SparkBigQueryConfig.IntermediateFormat c : SparkBigQueryConfig.IntermediateFormat.values()) System.out.println(c);
public static SparkBigQueryConfig.IntermediateFormat 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 static SparkBigQueryConfig.IntermediateFormat from(String format, String sparkVersion, org.apache.spark.sql.internal.SQLConf sqlConf, boolean validateSparkAvro, boolean enableListInferenceForParquetMode)
public String getDataSource()
public com.google.cloud.bigquery.FormatOptions getFormatOptions()
public String getFileSuffix()
Copyright © 2024. All rights reserved.