Interface Graph.Features.EdgeFeatures
- 
- All Superinterfaces:
- Graph.Features.ElementFeatures,- Graph.Features.FeatureSet
 - All Known Implementing Classes:
- AbstractTinkerGraph.TinkerGraphEdgeFeatures,- EmptyGraph.EmptyGraphFeatures.EmptyGraphEdgeFeatures
 - Enclosing interface:
- Graph.Features
 
 public static interface Graph.Features.EdgeFeatures extends Graph.Features.ElementFeatures Features that are related toEdgeoperations.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringFEATURE_ADD_EDGESstatic StringFEATURE_REMOVE_EDGESstatic StringFEATURE_UPSERT- 
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
 
- 
 - 
Method SummaryAll Methods Instance Methods Default Methods Modifier and Type Method Description default Graph.Features.EdgePropertyFeaturesproperties()Gets features related to "properties" on anEdge.default booleansupportsAddEdges()Determines if anEdgecan be added to aVertex.default booleansupportsRemoveEdges()Determines if anEdgecan be removed from aVertex.default booleansupportsUpsert()Determines if theGraphimplementation uses upsert functionality as opposed to insert functionality forVertex.addEdge(String, Vertex, Object...).- 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Features.ElementFeaturessupportsAddProperty, supportsAnyIds, supportsCustomIds, supportsNullPropertyValues, supportsNumericIds, supportsRemoveProperty, supportsStringIds, supportsUserSuppliedIds, supportsUuidIds, willAllowId
 
- 
 
- 
- 
- 
Field Detail- 
FEATURE_ADD_EDGESstatic final String FEATURE_ADD_EDGES - See Also:
- Constant Field Values
 
 - 
FEATURE_REMOVE_EDGESstatic final String FEATURE_REMOVE_EDGES - See Also:
- Constant Field Values
 
 - 
FEATURE_UPSERTstatic final String FEATURE_UPSERT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
supportsAddEdgesdefault boolean supportsAddEdges() Determines if anEdgecan be added to aVertex.
 - 
supportsRemoveEdgesdefault boolean supportsRemoveEdges() Determines if anEdgecan be removed from aVertex.
 - 
supportsUpsertdefault boolean supportsUpsert() Determines if theGraphimplementation uses upsert functionality as opposed to insert functionality forVertex.addEdge(String, Vertex, Object...). This feature gives graph providers some flexibility as to how graph mutations are treated. For graph providers, testing of this feature (as far as TinkerPop is concerned) only covers graphs that can support user supplied identifiers as there is no other way for TinkerPop to know what aspect of a edge is unique to appropriately apply assertions. Graph providers, especially those who support schema features, may have other methods for uniquely identifying a edge and should therefore resort to their own body of tests to validate this feature.
 - 
propertiesdefault Graph.Features.EdgePropertyFeatures properties() Gets features related to "properties" on anEdge.
 
- 
 
-