Class EmptyGraph.EmptyGraphFeatures.EmptyGraphVertexFeatures
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.structure.util.empty.EmptyGraph.EmptyGraphFeatures.EmptyGraphElementFeatures
- 
- org.apache.tinkerpop.gremlin.structure.util.empty.EmptyGraph.EmptyGraphFeatures.EmptyGraphVertexFeatures
 
 
- 
- All Implemented Interfaces:
- Graph.Features.ElementFeatures,- Graph.Features.FeatureSet,- Graph.Features.VertexFeatures
 - Enclosing class:
- EmptyGraph.EmptyGraphFeatures
 
 public final class EmptyGraph.EmptyGraphFeatures.EmptyGraphVertexFeatures extends EmptyGraph.EmptyGraphFeatures.EmptyGraphElementFeatures implements Graph.Features.VertexFeatures Vertex features defined such that they support immutability but allow all other possibilities.
- 
- 
Field Summary- 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.ElementFeaturesFEATURE_ADD_PROPERTY, FEATURE_ANY_IDS, FEATURE_CUSTOM_IDS, FEATURE_NULL_PROPERTY_VALUES, FEATURE_NUMERIC_IDS, FEATURE_REMOVE_PROPERTY, FEATURE_STRING_IDS, FEATURE_USER_SUPPLIED_IDS, FEATURE_UUID_IDS
 - 
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.VertexFeaturesFEATURE_ADD_VERTICES, FEATURE_DUPLICATE_MULTI_PROPERTIES, FEATURE_META_PROPERTIES, FEATURE_MULTI_PROPERTIES, FEATURE_REMOVE_VERTICES, FEATURE_UPSERT
 
- 
 - 
Constructor SummaryConstructors Constructor Description EmptyGraphVertexFeatures()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexProperty.CardinalitygetCardinality(String key)Gets theVertexProperty.Cardinalityfor a key.Graph.Features.VertexPropertyFeaturesproperties()Gets features related to "properties" on aVertex.booleansupportsAddVertices()Determines if aVertexcan be added to theGraph.booleansupportsRemoveVertices()Determines if aVertexcan be removed from theGraph.- 
Methods inherited from class org.apache.tinkerpop.gremlin.structure.util.empty.EmptyGraph.EmptyGraphFeatures.EmptyGraphElementFeaturessupportsAddProperty, supportsRemoveProperty
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.ElementFeaturessupportsAddProperty, supportsAnyIds, supportsCustomIds, supportsNullPropertyValues, supportsNumericIds, supportsRemoveProperty, supportsStringIds, supportsUserSuppliedIds, supportsUuidIds, willAllowId
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.VertexFeaturessupportsDuplicateMultiProperties, supportsMetaProperties, supportsMultiProperties, supportsUpsert
 
- 
 
- 
- 
- 
Method Detail- 
getCardinalitypublic VertexProperty.Cardinality getCardinality(String key) Description copied from interface:Graph.Features.VertexFeaturesGets theVertexProperty.Cardinalityfor a key. By default, this method will returnVertexProperty.Cardinality.list. Implementations that employ a schema can consult it to determine theVertexProperty.Cardinality. Those that do no have a schema can return their defaultVertexProperty.Cardinalityfor every key. Note that this method is primarily used by TinkerPop for internal usage and may not be suitable to reliably determine the cardinality of a key. For some implementation it may offer little more than a hint on the actual cardinality. Generally speaking it is likely best to drop down to the API of theGraphimplementation for any schema related queries.- Specified by:
- getCardinalityin interface- Graph.Features.VertexFeatures
 
 - 
supportsAddVerticespublic boolean supportsAddVertices() Description copied from interface:Graph.Features.VertexFeaturesDetermines if aVertexcan be added to theGraph.- Specified by:
- supportsAddVerticesin interface- Graph.Features.VertexFeatures
 
 - 
supportsRemoveVerticespublic boolean supportsRemoveVertices() Description copied from interface:Graph.Features.VertexFeaturesDetermines if aVertexcan be removed from theGraph.- Specified by:
- supportsRemoveVerticesin interface- Graph.Features.VertexFeatures
 
 - 
propertiespublic Graph.Features.VertexPropertyFeatures properties() Description copied from interface:Graph.Features.VertexFeaturesGets features related to "properties" on aVertex.- Specified by:
- propertiesin interface- Graph.Features.VertexFeatures
 
 
- 
 
-