public enum SchemaType extends Enum<SchemaType>
| Enum Constant and Description |
|---|
EDGE_LABEL |
PROPERTY_INDEX |
PROPERTY_KEY |
VERTEX_LABEL |
| Modifier and Type | Method and Description |
|---|---|
static SchemaType |
convert(org.apache.hugegraph.structure.constant.HugeType type) |
boolean |
isEdgeLabel() |
boolean |
isPropertyIndex() |
boolean |
isPropertyKey() |
boolean |
isVertexLabel() |
String |
string() |
static SchemaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaType PROPERTY_KEY
public static final SchemaType VERTEX_LABEL
public static final SchemaType EDGE_LABEL
public static final SchemaType PROPERTY_INDEX
public static SchemaType[] values()
for (SchemaType c : SchemaType.values()) System.out.println(c);
public static SchemaType 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 String string()
public boolean isPropertyKey()
public boolean isVertexLabel()
public boolean isEdgeLabel()
public boolean isPropertyIndex()
public static SchemaType convert(org.apache.hugegraph.structure.constant.HugeType type)
Copyright © 2024 The Apache Software Foundation. All rights reserved.