public enum MetadataType extends Enum<MetadataType>
Enum Constant and Description |
---|
ALL
Metadata that can be applicable to any type.
|
FILE
File level metadata type.
|
NONE
Metadata type which helps to indicate that there is no overflow of metadata.
|
PARTITION
Drill partition level metadata type.
|
ROW_GROUP
Row group level metadata type.
|
SEGMENT
Segment level metadata type.
|
TABLE
Table level metadata type.
|
VIEW
Metadata type which belongs to views.
|
Modifier and Type | Method and Description |
---|---|
static MetadataType |
fromValue(String value)
Converts metadata type string representation into
MetadataType instance. |
boolean |
includes(MetadataType metadataType)
Checks whether this
MetadataType includes the specified one. |
static MetadataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataType NONE
public static final MetadataType TABLE
public static final MetadataType SEGMENT
public static final MetadataType PARTITION
public static final MetadataType FILE
public static final MetadataType ROW_GROUP
public static final MetadataType ALL
public static final MetadataType VIEW
public static MetadataType[] values()
for (MetadataType c : MetadataType.values()) System.out.println(c);
public static MetadataType 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 boolean includes(MetadataType metadataType)
MetadataType
includes the specified one.
For example, SEGMENT
metadata type includes TABLE
metadata type.metadataType
- metadata type to checktrue
if this MetadataType
includes the specified one, false
otherwise.public static MetadataType fromValue(String value)
MetadataType
instance.value
- metadataCopyright © 1970 The Apache Software Foundation. All rights reserved.