public class FaunusVertex extends FaunusPathElement implements TitanVertex
| Modifier and Type | Class and Description |
|---|---|
static class |
FaunusVertex.MicroVertex |
FaunusPathElement.MicroElement, FaunusPathElement.Trackerconfiguration, pathCounter, trackerFILTER_DELETED_EDGES, FILTER_DELETED_PROPERTIES, id, inAdjacency, NO_ID, outAdjacencylifecycle| Constructor and Description |
|---|
FaunusVertex() |
FaunusVertex(Configuration configuration) |
FaunusVertex(Configuration configuration,
DataInput in)
Special constructor for deserialization.
|
FaunusVertex(Configuration configuration,
long id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(FaunusVertex vertex) |
StandardFaunusEdge |
addEdge(com.tinkerpop.blueprints.Direction dir,
StandardFaunusEdge edge) |
FaunusEdge |
addEdge(com.tinkerpop.blueprints.Direction direction,
String label,
long otherVertexId) |
FaunusEdge |
addEdge(EdgeLabel label,
TitanVertex vertex) |
StandardFaunusEdge |
addEdge(StandardFaunusEdge edge) |
FaunusEdge |
addEdge(String label,
TitanVertex vertex) |
FaunusEdge |
addEdge(String label,
com.tinkerpop.blueprints.Vertex inVertex) |
void |
addEdges(com.tinkerpop.blueprints.Direction direction,
FaunusVertex vertex)
Copy edges from another vertex to this one.
|
FaunusProperty |
addProperty(FaunusProperty property) |
TitanProperty |
addProperty(PropertyKey key,
Object value) |
FaunusProperty |
addProperty(String key,
Object value) |
long |
getEdgeCount() |
Set<FaunusEdgeLabel> |
getEdgeLabels(com.tinkerpop.blueprints.Direction direction) |
Iterable<TitanEdge> |
getEdges() |
Iterable<com.tinkerpop.blueprints.Edge> |
getEdges(com.tinkerpop.blueprints.Direction direction,
String... labels) |
String |
getLabel() |
Iterable<TitanProperty> |
getProperties() |
Iterable<TitanProperty> |
getProperties(PropertyKey key) |
Iterable<TitanProperty> |
getProperties(String key) |
long |
getPropertyCount() |
<T> Iterable<T> |
getPropertyValues(String key) |
Iterable<TitanRelation> |
getRelations() |
Iterable<TitanEdge> |
getTitanEdges(com.tinkerpop.blueprints.Direction d,
EdgeLabel... labels) |
FaunusVertexLabel |
getVertexLabel() |
Iterable<com.tinkerpop.blueprints.Vertex> |
getVertices(com.tinkerpop.blueprints.Direction direction,
String... labels) |
boolean |
isConnected() |
void |
readFields(DataInput in) |
void |
removeEdges(Tokens.Action action,
com.tinkerpop.blueprints.Direction direction,
String... stringLabels) |
void |
removeEdgesToFrom(Set<Long> ids) |
void |
setProperty(FaunusRelationType type,
Object value) |
void |
setVertexLabel(FaunusVertexLabel label) |
void |
setVertexLabel(String label) |
String |
toString() |
void |
write(DataOutput out) |
addPath, addPaths, clearPaths, getConf, getFaunusConf, getPaths, getPaths, getTypeManager, hasPaths, hasTrackPaths, incrPath, pathCount, query, setConf, startPathaddAllProperties, addRelation, compareTo, equals, getAdjustedMultiplicity, getId, getLongId, getProperty, getProperty, getProperty, getPropertyCollection, getPropertyKeys, getPropertyKeysDirect, hashCode, hasId, initializeAdjacency, isHidden, isModified, it, remove, removeProperty, removeProperty, setId, setProperty, setProperty, setProperty, setRelation, txgetLifeCycle, isLoaded, isNew, isRemoved, setLifeCycle, updateLifeCycleclone, finalize, getClass, notify, notifyAll, wait, wait, waitisModified, querygetId, getLongId, getProperty, getProperty, hasId, isLoaded, isNew, isRemoved, remove, removeProperty, removeProperty, setProperty, setPropertycompareTogetLifeCyclepublic FaunusVertex()
public FaunusVertex(Configuration configuration)
public FaunusVertex(Configuration configuration, long id)
public FaunusVertex(Configuration configuration, DataInput in) throws IOException
inconfiguration - vertex configin - data input containing vertex dataIOException - on deserialization failurepublic void addAll(FaunusVertex vertex)
public void setVertexLabel(FaunusVertexLabel label)
public void setVertexLabel(String label)
public String getLabel()
getLabel in interface TitanVertexpublic FaunusVertexLabel getVertexLabel()
getVertexLabel in interface TitanVertexpublic void setProperty(FaunusRelationType type, Object value)
setProperty in class FaunusElementpublic FaunusProperty addProperty(FaunusProperty property)
public TitanProperty addProperty(PropertyKey key, Object value)
addProperty in interface TitanVertexpublic FaunusProperty addProperty(String key, Object value)
addProperty in interface TitanVertexpublic Iterable<TitanProperty> getProperties()
getProperties in interface TitanVertexpublic Iterable<TitanProperty> getProperties(PropertyKey key)
getProperties in interface TitanVertexpublic Iterable<TitanProperty> getProperties(String key)
getProperties in interface TitanVertexpublic long getPropertyCount()
getPropertyCount in interface TitanVertexpublic Iterable<com.tinkerpop.blueprints.Vertex> getVertices(com.tinkerpop.blueprints.Direction direction, String... labels)
getVertices in interface com.tinkerpop.blueprints.Vertexpublic Iterable<TitanEdge> getTitanEdges(com.tinkerpop.blueprints.Direction d, EdgeLabel... labels)
getTitanEdges in interface TitanVertexpublic Iterable<com.tinkerpop.blueprints.Edge> getEdges(com.tinkerpop.blueprints.Direction direction, String... labels)
getEdges in interface TitanVertexgetEdges in interface com.tinkerpop.blueprints.Vertexpublic Iterable<TitanEdge> getEdges()
getEdges in interface TitanVertexpublic Iterable<TitanRelation> getRelations()
getRelations in interface TitanVertexpublic long getEdgeCount()
getEdgeCount in interface TitanVertexpublic boolean isConnected()
isConnected in interface TitanVertexpublic Set<FaunusEdgeLabel> getEdgeLabels(com.tinkerpop.blueprints.Direction direction)
public StandardFaunusEdge addEdge(com.tinkerpop.blueprints.Direction dir, StandardFaunusEdge edge)
public StandardFaunusEdge addEdge(StandardFaunusEdge edge)
public void addEdges(com.tinkerpop.blueprints.Direction direction,
FaunusVertex vertex)
direction - direction of edges to copy from the perspective of the
vertex parametervertex - the other vertex (source of copied edges)public FaunusEdge addEdge(String label, com.tinkerpop.blueprints.Vertex inVertex)
addEdge in interface com.tinkerpop.blueprints.Vertexpublic FaunusEdge addEdge(com.tinkerpop.blueprints.Direction direction, String label, long otherVertexId)
public FaunusEdge addEdge(EdgeLabel label, TitanVertex vertex)
addEdge in interface TitanVertexpublic FaunusEdge addEdge(String label, TitanVertex vertex)
addEdge in interface TitanVertexpublic void removeEdges(Tokens.Action action, com.tinkerpop.blueprints.Direction direction, String... stringLabels)
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2012–2016. All rights reserved.