@EnumDescription(value="Marker type indicating how markers are stored in the file system, used for identifying the files written and cleaning up files not committed which should be deleted.") public enum MarkerType extends Enum<MarkerType>
| Enum Constant and Description |
|---|
DIRECT |
TIMELINE_SERVER_BASED |
| Modifier and Type | Method and Description |
|---|---|
static MarkerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MarkerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@EnumFieldDescription(value="Individual marker file corresponding to each data file is directly created by the writer.") public static final MarkerType DIRECT
@EnumFieldDescription(value="Marker operations are all handled at the timeline service which serves as a proxy. New marker entries are batch processed and stored in a limited number of underlying files for efficiency. If HDFS is used or timeline server is disabled, DIRECT markers are used as fallback even if this is configured. This configuration does not take effect for Spark structured streaming; DIRECT markers are always used.") public static final MarkerType TIMELINE_SERVER_BASED
public static MarkerType[] values()
for (MarkerType c : MarkerType.values()) System.out.println(c);
public static MarkerType 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 The Apache Software Foundation. All rights reserved.