GraphNode Class |
Namespace: Cassandra.DataStax.Graph
public class GraphNode : DynamicObject, IEquatable<GraphNode>, IGraphNode, IEquatable<IGraphNode>
The GraphNode type exposes the following members.
| Name | Description | |
|---|---|---|
| IsArray |
Returns true if the underlying value is an array.
| |
| IsObjectTree |
Returns true if the underlying value is an object tree.
| |
| IsScalar |
Returns true if the underlying value is a scalar value (string, double, boolean, ...).
|
| Name | Description | |
|---|---|---|
| Equals(Object) |
Returns true if the value represented by this instance is the same.
(Overrides ObjectEquals(Object).) | |
| Equals(GraphNode) |
Returns true if the value represented by this instance is the same.
| |
| Equals(IGraphNode) | ||
| GetT |
Gets the typed value of a property of the result.
| |
| GetHashCode |
Gets the hash code for this instance, based on its value.
(Overrides ObjectGetHashCode.) | |
| GetProperties |
Gets the a dictionary of properties of this node.
| |
| GetRaw |
Gets the raw data represented by this instance.
Raw internal representation might be different depending on the graph serialization format and it is subject to change without any prior notice. | |
| HasProperty |
Returns true if the property is defined in this instance.
| |
| To(Type) |
Returns the representation of the GraphNode as an instance of the type provided.
| |
| ToT |
Returns the representation of the GraphNode as an instance of type T.
| |
| ToArray |
Converts the instance into an array when the internal representation is a json array.
| |
| ToBoolean |
Returns the representation of the result as a boolean.
| |
| ToDouble |
Returns the representation of the result as a double.
| |
| ToEdge | ||
| ToIArray |
Converts the instance into an array when the internal representation is a json array.
| |
| ToInt32 |
Returns the representation of the result as an int.
| |
| ToPath | ||
| ToString |
Returns the json representation of the result.
(Overrides ObjectToString.) | |
| ToVertex | ||
| TryConvert | (Overrides DynamicObjectTryConvert(ConvertBinder, Object).) | |
| TryGetMember |
Provides the implementation for operations that get member values.
(Overrides DynamicObjectTryGetMember(GetMemberBinder, Object).) |
| Name | Description | |
|---|---|---|
| Equality |
Returns true if the value represented by the instances are the same.
| |
| (GraphNode to Vertex) |
Converts this instance to a Vertex instance.
| |
| (GraphNode to Edge) |
Converts this instance to an Edge instance.
| |
| (GraphNode to Path) |
Converts this instance to a Path instance.
| |
| (GraphNode to String) |
Converts this instance to a string representation.
| |
| (GraphNode to Int16) |
Converts this instance to a short representation.
| |
| (GraphNode to Int32) |
Converts this instance to an int representation.
| |
| (GraphNode to Int64) |
Converts this instance to a long representation.
| |
| (GraphNode to Single) |
Converts this instance to a float representation.
| |
| (GraphNode to Double) |
Converts this instance to a long representation.
| |
| (GraphNode to Boolean) |
Converts this instance to a boolean representation.
| |
| Inequality |
Compares the values for inequality.
|