C# Class VelocityGraph.PropertyType

Inheritance: OptimizedPersistable
Afficher le fichier Open project: VelocityDB/VelocityDB Class Usage Examples

Méthodes publiques

Méthode Description
GetPropertyEdge ( IComparable value ) : System.Edge

Try to find an Edge with a given property value.

GetPropertyEdges ( IComparable value ) : IEnumerable

Try to find all Edge with a given property value.

GetPropertyValue ( Int32 elementId ) : IComparable

Get property value of a Vertex/Edge

GetPropertyVertex ( IComparable value, bool polymorphic = false, bool errorIfNotFound = true ) : Vertex

Try to find a Vertex with a given property value.

GetPropertyVertices ( IComparable value, bool polymorphic = false ) : IEnumerable

Try to find all Vertex with a given property value.

HasPropertyValue ( Int32 elementId ) : bool

Check if an element has a property value

RemovePropertyValue ( Int32 elementId ) : IComparable

Remove a property value

SetPropertyValue ( Int32 elementId, Int32 typeId, IComparable value ) : void

Sets a property value for an element

Private Methods

Méthode Description
PropertyType ( bool isVertexProp, Int32 typeId, Int32 propertyId, string name, Graph graph ) : System

Method Details

GetPropertyEdge() abstract public méthode

Try to find an Edge with a given property value.
abstract public GetPropertyEdge ( IComparable value ) : System.Edge
value IComparable the property value to look for
Résultat System.Edge

GetPropertyEdges() abstract public méthode

Try to find all Edge with a given property value.
abstract public GetPropertyEdges ( IComparable value ) : IEnumerable
value IComparable the property value to look for
Résultat IEnumerable

GetPropertyValue() abstract public méthode

Get property value of a Vertex/Edge
abstract public GetPropertyValue ( Int32 elementId ) : IComparable
elementId System.Int32 Id of a Vertex/Edge
Résultat IComparable

GetPropertyVertex() abstract public méthode

Try to find a Vertex with a given property value.
abstract public GetPropertyVertex ( IComparable value, bool polymorphic = false, bool errorIfNotFound = true ) : Vertex
value IComparable The property value to look for
polymorphic bool If true, also look for property value matching vertices of property sub classes
errorIfNotFound bool If true, signal an error if no matching found
Résultat Vertex

GetPropertyVertices() abstract public méthode

Try to find all Vertex with a given property value.
abstract public GetPropertyVertices ( IComparable value, bool polymorphic = false ) : IEnumerable
value IComparable The property value to look for
polymorphic bool If true, also look for property value matching vertices of property sub classes
Résultat IEnumerable

HasPropertyValue() abstract public méthode

Check if an element has a property value
abstract public HasPropertyValue ( Int32 elementId ) : bool
elementId System.Int32 Id of a Vertex/Edge
Résultat bool

RemovePropertyValue() abstract public méthode

Remove a property value
abstract public RemovePropertyValue ( Int32 elementId ) : IComparable
elementId System.Int32 Id of an edge/vertex
Résultat IComparable

SetPropertyValue() abstract public méthode

Sets a property value for an element
abstract public SetPropertyValue ( Int32 elementId, Int32 typeId, IComparable value ) : void
elementId System.Int32 Id of a vertex or edge
typeId System.Int32 Id of vertex/edge
value IComparable Value to assign to property
Résultat void