public static enum DynamicPartitioner.PartitionWriteOption extends Enum<DynamicPartitioner.PartitionWriteOption>
| Enum Constant and Description |
|---|
CREATE
Will only allow writing to a new partition.
|
CREATE_OR_APPEND
Allows appending to an existing partition.
|
CREATE_OR_OVERWRITE
Overwrites the existing partition being written to.
|
| Modifier and Type | Method and Description |
|---|---|
static DynamicPartitioner.PartitionWriteOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamicPartitioner.PartitionWriteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamicPartitioner.PartitionWriteOption CREATE
DataSetException will be thrown.public static final DynamicPartitioner.PartitionWriteOption CREATE_OR_APPEND
public static final DynamicPartitioner.PartitionWriteOption CREATE_OR_OVERWRITE
public static DynamicPartitioner.PartitionWriteOption[] values()
for (DynamicPartitioner.PartitionWriteOption c : DynamicPartitioner.PartitionWriteOption.values()) System.out.println(c);
public static DynamicPartitioner.PartitionWriteOption 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 nullCopyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.