public class InMemoryVertex extends InMemoryElement<InMemoryVertex> implements Vertex
ID_PROPERTY_NAME| Constructor and Description |
|---|
InMemoryVertex(InMemoryGraph graph,
String id,
InMemoryTableVertex inMemoryTableElement,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConceptType() |
Iterable<String> |
getEdgeIds(Direction direction,
Authorizations authorizations)
Gets the connected edge ids.
|
Iterable<String> |
getEdgeIds(Direction direction,
String[] labels,
Authorizations authorizations)
Gets the connected edge ids.
|
Iterable<String> |
getEdgeIds(Direction direction,
String label,
Authorizations authorizations)
Gets the connected edge ids.
|
Iterable<String> |
getEdgeIds(Vertex otherVertex,
Direction direction,
Authorizations authorizations)
Gets the connected edge ids.
|
Iterable<String> |
getEdgeIds(Vertex otherVertex,
Direction direction,
String[] labels,
Authorizations authorizations)
Gets a list of edge ids between this vertex and another vertex.
|
Iterable<String> |
getEdgeIds(Vertex otherVertex,
Direction direction,
String label,
Authorizations authorizations)
Gets the connected edge ids.
|
Iterable<EdgeInfo> |
getEdgeInfos(Direction direction,
String[] labels,
Authorizations authorizations)
Get a list of EdgeInfo.
|
Iterable<Edge> |
getEdges(Direction direction,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations)
Gets all edges attached to this vertex.
|
EdgesSummary |
getEdgesSummary(Authorizations authorizations)
Gets edge summary information
|
ExistingVertexMutation |
prepareMutation()
Prepares a mutation to allow changing multiple property values at the same time.
|
VertexQuery |
query(String queryString,
Authorizations authorizations)
Creates a query to query the edges and vertices attached to this vertex.
|
addPropertyValue, canRead, deleteProperty, extendedData, getAuthorizations, getEndTime, getExtendedData, getExtendedDataTableNames, getFetchHints, getGraph, getHiddenVisibilities, getHistoricalPropertyValues, getId, getInMemoryTableElement, getProperties, getPropertyValue, getPropertyValue, getTimestamp, getVisibility, isHidden, markPropertyHidden, markPropertyVisible, markPropertyVisible, saveExistingElementMutation, setInMemoryTableElement, softDeleteProperty, softDeleteProperty, updatePropertiesInternalequals, getEdgeLabelProperty, getElementIdProperty, getElementTypeProperty, getIdProperty, getInOrOutVertexIdProperty, getInVertexIdProperty, getOutVertexIdProperty, getProperties, getProperties, getProperty, getProperty, getReservedProperty, getRowIdProperty, getTableNameProperty, hashCode, internalGetProperties, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEdgeCount, getEdgeInfos, getEdgeInfos, getEdgeLabels, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdgeVertexPairs, getEdgeVertexPairs, getEdgeVertexPairs, getEdgeVertexPairs, getEdgeVertexPairs, getEdgeVertexPairs, getEdgeVertexPairs, getEdgeVertexPairs, getElementType, getVertexIds, getVertexIds, getVertexIds, getVertices, getVertices, getVertices, getVertices, getVertices, getVertices, queryaddPropertyValue, addPropertyValue, compareTo, deleteProperties, deleteProperty, deleteProperty, deleteProperty, getAuthorizations, getEndTime, getExtendedData, getExtendedData, getExtendedData, getExtendedData, getExtendedDataTableNames, getFetchHints, getGraph, getHiddenVisibilities, getHistoricalPropertyValues, getHistoricalPropertyValues, getHistoricalPropertyValues, getHistoricalPropertyValues, getTimestamp, getVisibility, isHidden, markPropertyHidden, markPropertyHidden, markPropertyHidden, markPropertyHidden, markPropertyVisible, markPropertyVisible, markPropertyVisible, markPropertyVisible, setProperty, setProperty, softDeleteProperties, softDeleteProperty, softDeletePropertygetId, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesedge, vertexpublic InMemoryVertex(InMemoryGraph graph, String id, InMemoryTableVertex inMemoryTableElement, FetchHints fetchHints, Long endTime, Authorizations authorizations)
public String getConceptType()
getConceptType in interface VertexgetConceptType in interface VertexElementLocationpublic Iterable<EdgeInfo> getEdgeInfos(Direction direction, String[] labels, Authorizations authorizations)
VertexgetEdgeInfos in interface Vertexdirection - The direction of the edge.labels - The labels of edges to traverse to find the edge infos.authorizations - The authorizations used to find the edges.public Iterable<Edge> getEdges(Direction direction, FetchHints fetchHints, Long endTime, Authorizations authorizations)
VertexgetEdges in interface Vertexdirection - The side of the edge that this vertex is attached to.fetchHints - Hint on what should be fetched from the datastore.endTime - Include all changes made up until the point in time.authorizations - The authorizations used to find the edges.public Iterable<String> getEdgeIds(Direction direction, Authorizations authorizations)
VertexgetEdgeIds in interface Vertexdirection - The side of the edge that this vertex is attached to.authorizations - The authorizations used to find the edges.public Iterable<String> getEdgeIds(Direction direction, String label, Authorizations authorizations)
VertexgetEdgeIds in interface Vertexdirection - The side of the edge that this vertex is attached to.label - The edge label to search for.authorizations - The authorizations used to find the edges.public Iterable<String> getEdgeIds(Direction direction, String[] labels, Authorizations authorizations)
VertexgetEdgeIds in interface Vertexdirection - The side of the edge that this vertex is attached to.labels - An array of edge labels to search for.authorizations - The authorizations used to find the edges.public Iterable<String> getEdgeIds(Vertex otherVertex, Direction direction, Authorizations authorizations)
VertexgetEdgeIds in interface VertexotherVertex - The other vertex.direction - The direction of edges to find relative to this vertex.authorizations - The authorizations used to find the edges.public Iterable<String> getEdgeIds(Vertex otherVertex, Direction direction, String label, Authorizations authorizations)
VertexgetEdgeIds in interface VertexotherVertex - The other vertex.direction - The direction of edges to find relative to this vertex.label - The edge label to search for.authorizations - The authorizations used to find the edges.public Iterable<String> getEdgeIds(Vertex otherVertex, Direction direction, String[] labels, Authorizations authorizations)
VertexgetEdgeIds in interface VertexotherVertex - The other vertex to find edges on.direction - The direction of the edge.labels - The labels to search for.authorizations - The authorizations used to find the edges.public EdgesSummary getEdgesSummary(Authorizations authorizations)
VertexgetEdgesSummary in interface Vertexauthorizations - The authorizations used to get the edges summarypublic VertexQuery query(String queryString, Authorizations authorizations)
Vertexpublic ExistingVertexMutation prepareMutation()
ElementprepareMutation in interface ElementprepareMutation in interface VertexprepareMutation in class InMemoryElement<InMemoryVertex>Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.