public interface Vertex extends Element, VertexElementLocation
ID_PROPERTY_NAME| Modifier and Type | Method and Description |
|---|---|
String |
getConceptType() |
default int |
getEdgeCount(Direction direction,
Authorizations authorizations)
Gets count of edges on this vertex.
|
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.
|
default Iterable<EdgeInfo> |
getEdgeInfos(Direction direction,
Authorizations authorizations)
Get a list of EdgeInfo.
|
Iterable<EdgeInfo> |
getEdgeInfos(Direction direction,
String[] labels,
Authorizations authorizations)
Get a list of EdgeInfo.
|
default Iterable<EdgeInfo> |
getEdgeInfos(Direction direction,
String label,
Authorizations authorizations)
Get a list of EdgeInfo.
|
default Iterable<String> |
getEdgeLabels(Direction direction,
Authorizations authorizations)
Gets a list of edge labels.
|
default Iterable<Edge> |
getEdges(Direction direction,
Authorizations authorizations)
Gets all edges attached to this vertex.
|
default Iterable<Edge> |
getEdges(Direction direction,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges attached to this vertex.
|
Iterable<Edge> |
getEdges(Direction direction,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations)
Gets all edges attached to this vertex.
|
default Iterable<Edge> |
getEdges(Direction direction,
String[] labels,
Authorizations authorizations)
Gets all edges with any of the given labels attached to this vertex.
|
default Iterable<Edge> |
getEdges(Direction direction,
String[] labels,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges with any of the given labels attached to this vertex.
|
default Iterable<Edge> |
getEdges(Direction direction,
String label,
Authorizations authorizations)
Gets all edges with the given label attached to this vertex.
|
default Iterable<Edge> |
getEdges(Direction direction,
String label,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges with the given label attached to this vertex.
|
default Iterable<Edge> |
getEdges(Vertex otherVertex,
Direction direction,
Authorizations authorizations)
Gets all edges between this vertex and another vertex.
|
default Iterable<Edge> |
getEdges(Vertex otherVertex,
Direction direction,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges between this vertex and another vertex.
|
default Iterable<Edge> |
getEdges(Vertex otherVertex,
Direction direction,
String[] labels,
Authorizations authorizations)
Gets all edges between this vertex and another vertex matching any of the given labels.
|
default Iterable<Edge> |
getEdges(Vertex otherVertex,
Direction direction,
String[] labels,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges between this vertex and another vertex matching any of the given labels.
|
default Iterable<Edge> |
getEdges(Vertex otherVertex,
Direction direction,
String label,
Authorizations authorizations)
Gets all edges between this vertex and another vertex matching the given label.
|
default Iterable<Edge> |
getEdges(Vertex otherVertex,
Direction direction,
String label,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edges between this vertex and another vertex matching the given label.
|
EdgesSummary |
getEdgesSummary(Authorizations authorizations)
Gets edge summary information
|
default Iterable<EdgeVertexPair> |
getEdgeVertexPairs(Direction direction,
Authorizations authorizations)
Gets all edge/vertex pairs attached to this vertex.
|
default Iterable<EdgeVertexPair> |
getEdgeVertexPairs(Direction direction,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edge/vertex pairs attached to this vertex.
|
default Iterable<EdgeVertexPair> |
getEdgeVertexPairs(Direction direction,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations)
Gets all edge/vertex pairs attached to this vertex.
|
default Iterable<EdgeVertexPair> |
getEdgeVertexPairs(Direction direction,
String[] labels,
Authorizations authorizations)
Gets all edge/vertex pairs with any of the given labels attached to this vertex.
|
default Iterable<EdgeVertexPair> |
getEdgeVertexPairs(Direction direction,
String[] labels,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edge/vertex pairs with any of the given labels attached to this vertex.
|
default Iterable<EdgeVertexPair> |
getEdgeVertexPairs(Direction direction,
String label,
Authorizations authorizations)
Gets all edge/vertex pairs with the given label attached to this vertex.
|
default Iterable<EdgeVertexPair> |
getEdgeVertexPairs(Direction direction,
String label,
FetchHints fetchHints,
Authorizations authorizations)
Gets all edge/vertex pairs with the given label attached to this vertex.
|
default Iterable<EdgeVertexPair> |
getEdgeVertexPairs(Iterable<EdgeInfo> edgeInfos,
FetchHints fetchHints,
Long endTime,
Authorizations authorizations) |
default ElementType |
getElementType()
Get the type of the element
|
default Iterable<String> |
getVertexIds(Direction direction,
Authorizations authorizations)
Gets vertex ids of connected vertices.
|
default Iterable<String> |
getVertexIds(Direction direction,
String[] labels,
Authorizations authorizations)
Gets vertex ids of connected vertices.
|
default Iterable<String> |
getVertexIds(Direction direction,
String label,
Authorizations authorizations)
Gets vertex ids of connected vertices.
|
default Iterable<Vertex> |
getVertices(Direction direction,
Authorizations authorizations)
Similar to getEdges but gets the vertices on the other side of the edges attached to this vertex.
|
default Iterable<Vertex> |
getVertices(Direction direction,
FetchHints fetchHints,
Authorizations authorizations)
Similar to getEdges but gets the vertices on the other side of the edges attached to this vertex.
|
default Iterable<Vertex> |
getVertices(Direction direction,
String[] labels,
Authorizations authorizations)
Similar to getEdges but gets the vertices on the other side of the edges attached to this vertex that have any of the given labels.
|
default Iterable<Vertex> |
getVertices(Direction direction,
String[] labels,
FetchHints fetchHints,
Authorizations authorizations)
Similar to getEdges but gets the vertices on the other side of the edges attached to this vertex that have any of the given labels.
|
default Iterable<Vertex> |
getVertices(Direction direction,
String label,
Authorizations authorizations)
Similar to getEdges but gets the vertices on the other side of the edges attached to this vertex that have the given label.
|
default Iterable<Vertex> |
getVertices(Direction direction,
String label,
FetchHints fetchHints,
Authorizations authorizations)
Similar to getEdges but gets the vertices on the other side of the edges attached to this vertex that have the given label.
|
ExistingVertexMutation |
prepareMutation()
Prepares a mutation to allow changing multiple property values at the same time.
|
default VertexQuery |
query(Authorizations authorizations)
Creates a query to query the edges and vertices attached to this vertex.
|
VertexQuery |
query(String queryString,
Authorizations authorizations)
Creates a query to query the edges and vertices attached to this vertex.
|
addPropertyValue, 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, vertexdefault Iterable<Edge> getEdges(Direction direction, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.authorizations - The authorizations used to find the edges.default Iterable<Edge> getEdges(Direction direction, FetchHints fetchHints, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edges.Iterable<Edge> getEdges(Direction direction, FetchHints fetchHints, Long endTime, Authorizations authorizations)
direction - 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.Iterable<String> getEdgeIds(Direction direction, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.authorizations - The authorizations used to find the edges.default Iterable<Edge> getEdges(Direction direction, String label, Authorizations authorizations)
direction - 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.default Iterable<Edge> getEdges(Direction direction, String label, FetchHints fetchHints, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.label - The edge label to search for.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edges.Iterable<String> getEdgeIds(Direction direction, String label, Authorizations authorizations)
direction - 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.default Iterable<Edge> getEdges(Direction direction, String[] labels, Authorizations authorizations)
direction - 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.default Iterable<Edge> getEdges(Direction direction, String[] labels, FetchHints fetchHints, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.labels - An array of edge labels to search for.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edges.Iterable<String> getEdgeIds(Direction direction, String[] labels, Authorizations authorizations)
direction - 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.default Iterable<Edge> getEdges(Vertex otherVertex, Direction direction, Authorizations authorizations)
otherVertex - The other vertex.direction - The direction of edges to find relative to this vertex.authorizations - The authorizations used to find the edges.default Iterable<Edge> getEdges(Vertex otherVertex, Direction direction, FetchHints fetchHints, Authorizations authorizations)
otherVertex - The other vertex.direction - The direction of edges to find relative to this vertex.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edges.Iterable<String> getEdgeIds(Vertex otherVertex, Direction direction, Authorizations authorizations)
otherVertex - The other vertex.direction - The direction of edges to find relative to this vertex.authorizations - The authorizations used to find the edges.default Iterable<Edge> getEdges(Vertex otherVertex, Direction direction, String label, Authorizations authorizations)
otherVertex - 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.default Iterable<Edge> getEdges(Vertex otherVertex, Direction direction, String label, FetchHints fetchHints, Authorizations authorizations)
otherVertex - The other vertex.direction - The direction of edges to find relative to this vertex.label - The edge label to search for.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edges.Iterable<String> getEdgeIds(Vertex otherVertex, Direction direction, String label, Authorizations authorizations)
otherVertex - 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.default Iterable<Edge> getEdges(Vertex otherVertex, Direction direction, String[] labels, Authorizations authorizations)
otherVertex - The other vertex.direction - The direction of edges to find relative to this vertex.labels - An array of edge labels to search for.authorizations - The authorizations used to find the edges.default Iterable<Edge> getEdges(Vertex otherVertex, Direction direction, String[] labels, FetchHints fetchHints, Authorizations authorizations)
otherVertex - The other vertex.direction - The direction of edges to find relative to this vertex.labels - An array of edge labels to search for.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edges.Iterable<String> getEdgeIds(Vertex otherVertex, Direction direction, String[] labels, Authorizations authorizations)
otherVertex - 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.default int getEdgeCount(Direction direction, Authorizations authorizations)
direction - The direction of the edges to get a count on.authorizations - The authorizations used to find the edges.default Iterable<String> getEdgeLabels(Direction direction, Authorizations authorizations)
direction - The direction of the edge.authorizations - The authorizations used to find the edges.EdgesSummary getEdgesSummary(Authorizations authorizations)
authorizations - The authorizations used to get the edges summarydefault Iterable<EdgeInfo> getEdgeInfos(Direction direction, Authorizations authorizations)
direction - The direction of the edge.authorizations - The authorizations used to find the edges.default Iterable<EdgeInfo> getEdgeInfos(Direction direction, String label, Authorizations authorizations)
direction - The direction of the edge.label - The label of edges to traverse to find the edge infos.authorizations - The authorizations used to find the edges.Iterable<EdgeInfo> getEdgeInfos(Direction direction, String[] labels, Authorizations authorizations)
direction - 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.default Iterable<Vertex> getVertices(Direction direction, Authorizations authorizations)
direction - The direction relative to this vertex.authorizations - The authorizations used to find the vertices.default Iterable<Vertex> getVertices(Direction direction, FetchHints fetchHints, Authorizations authorizations)
direction - The direction relative to this vertex.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the vertices.default Iterable<Vertex> getVertices(Direction direction, String label, Authorizations authorizations)
direction - The direction relative to this vertex.label - The label of edges to traverse to find the vertices.authorizations - The authorizations used to find the vertices.default Iterable<Vertex> getVertices(Direction direction, String label, FetchHints fetchHints, Authorizations authorizations)
direction - The direction relative to this vertex.label - The label of edges to traverse to find the vertices.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the vertices.default Iterable<Vertex> getVertices(Direction direction, String[] labels, Authorizations authorizations)
direction - The direction relative to this vertex.labels - The labels of edges to traverse to find the vertices.authorizations - The authorizations used to find the vertices.default Iterable<Vertex> getVertices(Direction direction, String[] labels, FetchHints fetchHints, Authorizations authorizations)
direction - The direction relative to this vertex.labels - The labels of edges to traverse to find the vertices.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the vertices.default Iterable<String> getVertexIds(Direction direction, String label, Authorizations authorizations)
direction - The direction relative to this vertex.label - The label of edges to traverse to find the vertices.authorizations - The authorizations used to find the vertices.default Iterable<String> getVertexIds(Direction direction, String[] labels, Authorizations authorizations)
direction - The direction relative to this vertex.labels - The labels of edges to traverse to find the vertices.authorizations - The authorizations used to find the vertices.default Iterable<String> getVertexIds(Direction direction, Authorizations authorizations)
direction - The direction relative to this vertex.authorizations - The authorizations used to find the vertices.default VertexQuery query(Authorizations authorizations)
authorizations - The authorizations used to find the edges and vertices.VertexQuery query(String queryString, Authorizations authorizations)
queryString - The string to search for.authorizations - The authorizations used to find the edges and vertices.ExistingVertexMutation prepareMutation()
prepareMutation in interface Elementdefault Iterable<EdgeVertexPair> getEdgeVertexPairs(Direction direction, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.authorizations - The authorizations used to find the edge/vertex pairs.default Iterable<EdgeVertexPair> getEdgeVertexPairs(Direction direction, FetchHints fetchHints, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edge/vertex pairs.default Iterable<EdgeVertexPair> getEdgeVertexPairs(Direction direction, FetchHints fetchHints, Long endTime, Authorizations authorizations)
direction - 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 edge/vertex pairs.default Iterable<EdgeVertexPair> getEdgeVertexPairs(Direction direction, String label, Authorizations authorizations)
direction - 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 edge/vertex pairs.default Iterable<EdgeVertexPair> getEdgeVertexPairs(Direction direction, String label, FetchHints fetchHints, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.label - The edge label to search for.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edge/vertex pairs.default Iterable<EdgeVertexPair> getEdgeVertexPairs(Direction direction, String[] labels, Authorizations authorizations)
direction - 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 edge/vertex pairs.default Iterable<EdgeVertexPair> getEdgeVertexPairs(Direction direction, String[] labels, FetchHints fetchHints, Authorizations authorizations)
direction - The side of the edge that this vertex is attached to.labels - An array of edge labels to search for.fetchHints - Hint on what should be fetched from the datastore.authorizations - The authorizations used to find the edge/vertex pairs.default Iterable<EdgeVertexPair> getEdgeVertexPairs(Iterable<EdgeInfo> edgeInfos, FetchHints fetchHints, Long endTime, Authorizations authorizations)
default ElementType getElementType()
ElementIdgetElementType in interface ElementIdString getConceptType()
getConceptType in interface VertexElementLocationCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.