public enum TitanSchemaCategory extends Enum<TitanSchemaCategory>
| Enum Constant and Description |
|---|
EDGELABEL |
GRAPHINDEX |
PROPERTYKEY |
TYPE_MODIFIER |
VERTEXLABEL |
| Modifier and Type | Method and Description |
|---|---|
static String |
getName(String schemaName) |
static String |
getRelationTypeName(String name) |
String |
getSchemaName(String name) |
boolean |
hasName() |
boolean |
isRelationType() |
static TitanSchemaCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TitanSchemaCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
verifyValidDefinition(TypeDefinitionMap definition) |
public static final TitanSchemaCategory EDGELABEL
public static final TitanSchemaCategory PROPERTYKEY
public static final TitanSchemaCategory VERTEXLABEL
public static final TitanSchemaCategory GRAPHINDEX
public static final TitanSchemaCategory TYPE_MODIFIER
public static TitanSchemaCategory[] values()
for (TitanSchemaCategory c : TitanSchemaCategory.values()) System.out.println(c);
public static TitanSchemaCategory 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 isRelationType()
public boolean hasName()
public void verifyValidDefinition(TypeDefinitionMap definition)
Copyright © 2012–2015. All rights reserved.