public static enum Context.RewritePolicy extends Enum<Context.RewritePolicy>
| Enum Constant and Description |
|---|
ALL_PARTITIONS |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static Context.RewritePolicy |
fromString(String rewritePolicy) |
static Context.RewritePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context.RewritePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Context.RewritePolicy DEFAULT
public static final Context.RewritePolicy ALL_PARTITIONS
public static Context.RewritePolicy[] values()
for (Context.RewritePolicy c : Context.RewritePolicy.values()) System.out.println(c);
public static Context.RewritePolicy 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 Context.RewritePolicy fromString(String rewritePolicy)
Copyright © 2024 The Apache Software Foundation. All rights reserved.