public class Features extends Object
| Modifier and Type | Field and Description |
|---|---|
Boolean |
hasImplicitElements
Does the graph return elements not explicitly created with addVertex or addEdge?
|
Boolean |
ignoresSuppliedIds
Does the graph ignore user provided ids in graph.addVertex(Object id)?
|
Boolean |
isPersistent
Does the graph persist the graph to disk after shutdown?
|
Boolean |
isWrapper
Does the graph implement WrapperGraph?
|
Boolean |
supportsBooleanProperty
Does the graph allows boolean to be used as a property value for a graph element?
|
Boolean |
supportsDoubleProperty
Does the graph allows double to be used as a property value for a graph element?
|
Boolean |
supportsDuplicateEdges
Does the graph allow for two edges with the same vertices and edge label to exist?
|
Boolean |
supportsEdgeIndex
Does the graph support the indexing of edges by their properties?
|
Boolean |
supportsEdgeIteration
Does the graph support graph.getEdges()?
|
Boolean |
supportsEdgeKeyIndex
Does the graph support key indexing on edges?
|
Boolean |
supportsEdgeProperties
Does the graph support setting and retrieving properties on edges?
|
Boolean |
supportsEdgeRetrieval
Does the graph support retrieving edges by id, i.e.
|
Boolean |
supportsFloatProperty
Does the graph allows float to be used as a property value for a graph element?
|
Boolean |
supportsIndices
Does the graph implement IndexableGraph?
|
Boolean |
supportsIntegerProperty
Does the graph allows integer to be used as a property value for a graph element?
|
Boolean |
supportsKeyIndices
Does the graph implement KeyIndexableGraph?
|
Boolean |
supportsLongProperty
Does the graph allows long to be used as a property value for a graph element?
|
Boolean |
supportsMapProperty
Does the graph allows map to be used as a property value for a graph element?
|
Boolean |
supportsMixedListProperty
Does the graph allows a mixed list (different data types within the same list) to be used as a
property value for a graph element?
|
Boolean |
supportsPrimitiveArrayProperty
Does the graph allows a primitive array to be used as a property value for a graph element?
|
Boolean |
supportsSelfLoops
Does the graph allow an edge to have the same out/tail and in/head vertex?
|
Boolean |
supportsSerializableObjectProperty
Does the graph allow any serializable object to be used as a property value for a graph element?
|
Boolean |
supportsStringProperty
Graph allows string to be used as a property value for a graph element.
|
Boolean |
supportsThreadedTransactions
Does the graph implement ThreadedTransactionalGraph?
|
Boolean |
supportsThreadIsolatedTransactions
Does the graph support transactions managed such that multiple threads operating on the same graph instance
can have isolated transactions?
|
Boolean |
supportsTransactions
Does the graph implement TransactionalGraph?
|
Boolean |
supportsUniformListProperty
Does the graph allows list (all objects with the list have the same data types) to be used as a property
value for a graph element?
|
Boolean |
supportsVertexIndex
Does the graph support the indexing of vertices by their properties?
|
Boolean |
supportsVertexIteration
Does the graph support graph.getVertices()?
|
Boolean |
supportsVertexKeyIndex
Does the graph support key indexing on vertices?
|
Boolean |
supportsVertexProperties
Does the graph support setting and retrieving properties on vertices?
|
| Constructor and Description |
|---|
Features() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCompliance()
This method determines whether the full gamut of features have been set by the Graph implementation.
|
Features |
copyFeatures()
This method copies the features in this features object to another feature object.
|
boolean |
supportsElementProperties()
Checks whether the graph supports both vertex and edge properties
|
Map |
toMap() |
String |
toString() |
public Boolean supportsDuplicateEdges
public Boolean supportsSelfLoops
public Boolean supportsSerializableObjectProperty
public Boolean supportsBooleanProperty
public Boolean supportsDoubleProperty
public Boolean supportsFloatProperty
public Boolean supportsIntegerProperty
public Boolean supportsPrimitiveArrayProperty
public Boolean supportsUniformListProperty
public Boolean supportsMixedListProperty
public Boolean supportsLongProperty
public Boolean supportsMapProperty
public Boolean supportsStringProperty
public Boolean hasImplicitElements
public Boolean ignoresSuppliedIds
public Boolean isPersistent
public Boolean isWrapper
public Boolean supportsIndices
public Boolean supportsVertexIndex
public Boolean supportsEdgeIndex
public Boolean supportsKeyIndices
public Boolean supportsVertexKeyIndex
public Boolean supportsEdgeKeyIndex
public Boolean supportsEdgeIteration
public Boolean supportsVertexIteration
public Boolean supportsEdgeRetrieval
public Boolean supportsVertexProperties
public Boolean supportsEdgeProperties
public Boolean supportsTransactions
public Boolean supportsThreadedTransactions
public Boolean supportsThreadIsolatedTransactions
public boolean supportsElementProperties()
public Map toMap()
public void checkCompliance()
throws IllegalStateException
IllegalStateException - thrown if a feature was not setpublic Features copyFeatures()
Copyright © 2010-2014. All Rights Reserved.