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
)
Function Query (
key As String,
query As Object
) As IEnumerable(Of IElement)
IEnumerable<IElement^>^ Query(
String^ key,
Object^ query
)
abstract Query :
key : string *
query : Object -> IEnumerable<IElement>
Parameters
- key
- Type: SystemString
the key of the indexed elements - query
- Type: SystemObject
the query object for the indexed elements' keys
Return Value
Type:
IEnumerableIElementan IEnumerable of elements that have a particular key/value in the index that match the query object
See Also