Package | Description |
---|---|
com.thinkaurelius.titan.core |
Modifier and Type | Interface and Description |
---|---|
interface |
TitanKey
TitanKey is an extension of
TitanType for properties. |
interface |
TitanLabel
TitanLabel is an extension of
TitanType for edges. |
interface |
TitanType
TitanType defines the schema for
TitanRelation . |
Modifier and Type | Method and Description |
---|---|
TitanVertex |
TitanTransaction.addVertex()
Creates a new vertex in the graph.
|
TitanVertex |
VertexList.get(int pos)
Returns the vertex at a given position in the list.
|
TitanVertex |
TitanEdge.getOtherVertex(TitanVertex vertex)
Returns the vertex at the opposite end of the edge.
|
TitanVertex |
TitanRelation.getProperty(TitanLabel label)
Returns the vertex associated to this relation by a unidirected edge of the given label or NULL if such does not exist.
|
TitanVertex |
TitanProperty.getVertex()
Returns the vertex on which this property is incident.
|
TitanVertex |
TitanEdge.getVertex(com.tinkerpop.blueprints.Direction dir)
Returns the vertex for the specified direction.
|
TitanVertex |
TitanTransaction.getVertex(long id)
Retrieves the vertex for the specified id.
|
TitanVertex |
TitanTransaction.getVertex(String key,
Object attribute) |
TitanVertex |
TitanTransaction.getVertex(TitanKey key,
Object attribute) |
Modifier and Type | Method and Description |
---|---|
Iterable<TitanVertex> |
TitanTransaction.getVertices(TitanKey key,
Object attribute)
Retrieves all vertices which have a property of the given key with the specified value.
|
Modifier and Type | Method and Description |
---|---|
TitanEdge |
TitanVertex.addEdge(String label,
TitanVertex vertex)
Creates a new edge incident on this vertex.
|
TitanEdge |
TitanVertex.addEdge(TitanLabel label,
TitanVertex vertex)
Creates a new edge incident on this vertex.
|
TitanEdge |
TitanTransaction.addEdge(TitanVertex outVertex,
TitanVertex inVertex,
String label)
Creates a new edge connecting the specified vertices.
|
TitanEdge |
TitanTransaction.addEdge(TitanVertex outVertex,
TitanVertex inVertex,
TitanLabel label)
Creates a new edge connecting the specified vertices.
|
TitanProperty |
TitanTransaction.addProperty(TitanVertex vertex,
String key,
Object attribute)
Creates a new property for the given vertex and key with the specified attribute.
|
TitanProperty |
TitanTransaction.addProperty(TitanVertex vertex,
TitanKey key,
Object attribute)
Creates a new property for the given vertex and key with the specified attribute.
|
com.tinkerpop.blueprints.Direction |
TitanRelation.getDirection(TitanVertex vertex)
Returns the direction of this relation from the perspective of the specified vertex.
|
TitanVertex |
TitanEdge.getOtherVertex(TitanVertex vertex)
Returns the vertex at the opposite end of the edge.
|
TitanVertexQuery |
TitanVertexQuery.has(TitanLabel label,
TitanVertex vertex)
Query only for edges that have a unidirected edge matching pointing to the given vertex
It is expected that this label is unidirected (
TitanLabel.isUnidirected()
and the query is restricted to edges having an incident unidirectional edge pointing to the given vertex. |
boolean |
TitanRelation.isIncidentOn(TitanVertex vertex)
Checks whether this relation is incident on the specified vertex.
|
void |
TitanRelation.setProperty(TitanLabel label,
TitanVertex vertex)
Establishes a unidirectional edge between this relation and the given vertex for the specified label.
|
Copyright © 2012-2013. All Rights Reserved.