public enum CollectionDefCategory extends Enum<CollectionDefCategory> implements Serializable
| Enum Constant and Description |
|---|
OM_COLLECTION_ARRAY |
OM_COLLECTION_MAP |
OM_COLLECTION_STRUCT |
OM_COLLECTION_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
int |
getArgumentCount()
Return the number of arguments for this collection type.
|
String |
getJavaClassName()
Return the name of the java class that can be used to store properties of this type.
|
String |
getName()
Return the name of type that can be used for text-based interchange formats such as JSON or XML.
|
int |
getOrdinal()
Return the numeric code for the primitive type which can be used in optimized data flows.
|
String |
toString()
toString() JSON-style
|
static CollectionDefCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionDefCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionDefCategory OM_COLLECTION_UNKNOWN
public static final CollectionDefCategory OM_COLLECTION_MAP
public static final CollectionDefCategory OM_COLLECTION_ARRAY
public static final CollectionDefCategory OM_COLLECTION_STRUCT
public static CollectionDefCategory[] values()
for (CollectionDefCategory c : CollectionDefCategory.values()) System.out.println(c);
public static CollectionDefCategory 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 int getOrdinal()
public String getName()
public int getArgumentCount()
public String getJavaClassName()
public String toString()
toString in class Enum<CollectionDefCategory>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.