Click or drag to resize

IIndexQuery Method

Get all the elements that are indexed by the provided key and specified query object. This is useful for graph implementations that support complex query capabilities. If querying is not supported, simply throw a NotSupportedException.

Namespace:  VelocityGraph.Frontenac.Blueprints
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
IEnumerable<IElement> Query(
	string key,
	Object query
)

Parameters

key
Type: SystemString
the key of the indexed elements
query
Type: SystemObject
the query object for the indexed elements' keys

Return Value

Type: IEnumerableIElement
an IEnumerable of elements that have a particular key/value in the index that match the query object
See Also