Package | Description |
---|---|
com.thinkaurelius.titan.core |
Modifier and Type | Method and Description |
---|---|
TypeMaker |
TypeMaker.dataType(Class<?> clazz)
Configures the data type for this type.
|
TypeMaker |
TypeMaker.directed()
Configures the type to be directed.
|
TypeMaker |
TypeMaker.group(TypeGroup group)
Assigns the type to the specified
TypeGroup . |
TypeMaker |
TypeMaker.indexed(Class<? extends com.tinkerpop.blueprints.Element> clazz)
Configures instances of this type to be indexed for the specified Element type using the standard Titan index.
|
TypeMaker |
TypeMaker.indexed(String indexName,
Class<? extends com.tinkerpop.blueprints.Element> clazz)
Configures instances of this type to be indexed for the specified Element type using the external index with the given name.
|
TypeMaker |
TitanTransaction.makeType()
Returns a new
TypeMaker instance to create types. |
TypeMaker |
TitanGraph.makeType()
Returns a
TypeMaker to create a new Titan type. |
TypeMaker |
TypeMaker.name(String name)
Sets the name of the type
|
TypeMaker |
TypeMaker.primaryKey(TitanType... types)
Configures the composite primary key for this type.
|
TypeMaker |
TypeMaker.signature(TitanType... types)
Configures the signature of this type.
|
TypeMaker |
TypeMaker.unidirected()
Configures the type to be unidirected.
|
TypeMaker |
TypeMaker.unique(com.tinkerpop.blueprints.Direction direction)
Configures the type to be unique in the given direction with the default uniqueness consistency
TypeMaker.UniquenessConsistency.LOCK . |
TypeMaker |
TypeMaker.unique(com.tinkerpop.blueprints.Direction direction,
TypeMaker.UniquenessConsistency consistency)
Configures the type to be unique in the given direction with the provided uniqueness consistency.
|
Modifier and Type | Method and Description |
---|---|
TitanKey |
DefaultTypeMaker.makeKey(String name,
TypeMaker factory)
Creates a new property key with the given name and default settings against the provided TypeMaker.
|
TitanLabel |
DefaultTypeMaker.makeLabel(String name,
TypeMaker factory)
Creates a new label type with the given name and default settings against the provided TypeMaker.
|
Copyright © 2012-2013. All Rights Reserved.