public static enum DynamicSchemaFilter.NewColumnsMode extends Enum<DynamicSchemaFilter.NewColumnsMode>
Enum Constant and Description |
---|
ALL
New columns are allowed at this level and below.
|
CHILD_ONLY
New columns cannot be added at this level, but can be
added in maps below this level.
|
NONE
No new columns are allowed at this level or in maps
below this level.
|
Modifier and Type | Method and Description |
---|---|
static DynamicSchemaFilter.NewColumnsMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamicSchemaFilter.NewColumnsMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamicSchemaFilter.NewColumnsMode NONE
public static final DynamicSchemaFilter.NewColumnsMode ALL
public static final DynamicSchemaFilter.NewColumnsMode CHILD_ONLY
a, b, m
, and it
turns out that m
is a map. A simple m
projection is logically equivalent to m.*
.
This same logic can apply to maps if the project list contains
something like m.a, m.m2
, and m2
turns out
to be a map.
public static DynamicSchemaFilter.NewColumnsMode[] values()
for (DynamicSchemaFilter.NewColumnsMode c : DynamicSchemaFilter.NewColumnsMode.values()) System.out.println(c);
public static DynamicSchemaFilter.NewColumnsMode 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 © 1970 The Apache Software Foundation. All rights reserved.