public final class EmptyGraph.EmptyGraphFeatures.EmptyGraphVertexFeatures extends EmptyGraph.EmptyGraphFeatures.EmptyGraphElementFeatures implements Graph.Features.VertexFeatures
supportsAddProperty, supportsRemoveProperty
supportsAddProperty, supportsRemoveProperty
FEATURE_ADD_VERTICES, FEATURE_META_PROPERTIES, FEATURE_MULTI_PROPERTIES, FEATURE_REMOVE_VERTICES
FEATURE_ADD_PROPERTY, FEATURE_ANY_IDS, FEATURE_CUSTOM_IDS, FEATURE_NUMERIC_IDS, FEATURE_REMOVE_PROPERTY, FEATURE_STRING_IDS, FEATURE_USER_SUPPLIED_IDS, FEATURE_UUID_IDS
Constructor and Description |
---|
EmptyGraphVertexFeatures() |
Modifier and Type | Method and Description |
---|---|
VertexProperty.Cardinality |
getCardinality(String key)
Gets the
VertexProperty.Cardinality for a key. |
Graph.Features.VertexPropertyFeatures |
properties()
Gets features related to "properties" on a
Vertex . |
boolean |
supportsAddVertices()
Determines if a
Vertex can be added to the Graph . |
boolean |
supportsRemoveVertices()
Determines if a
Vertex can be removed from the Graph . |
supportsAddProperty, supportsRemoveProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsMetaProperties, supportsMultiProperties
supportsAddProperty, supportsAnyIds, supportsCustomIds, supportsNumericIds, supportsRemoveProperty, supportsStringIds, supportsUserSuppliedIds, supportsUuidIds, willAllowId
public VertexProperty.Cardinality getCardinality(String key)
Graph.Features.VertexFeatures
VertexProperty.Cardinality
for a key. By default, this method will return
VertexProperty.Cardinality.list
. Implementations that employ a schema can consult it to
determine the VertexProperty.Cardinality
. Those that do no have a schema can return their
default VertexProperty.Cardinality
for every key.getCardinality
in interface Graph.Features.VertexFeatures
public boolean supportsAddVertices()
Graph.Features.VertexFeatures
Vertex
can be added to the Graph
.supportsAddVertices
in interface Graph.Features.VertexFeatures
public boolean supportsRemoveVertices()
Graph.Features.VertexFeatures
Vertex
can be removed from the Graph
.supportsRemoveVertices
in interface Graph.Features.VertexFeatures
public Graph.Features.VertexPropertyFeatures properties()
Graph.Features.VertexFeatures
Vertex
.properties
in interface Graph.Features.VertexFeatures
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.