Esempio n. 1
0
 public virtual IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     return(VertexKeyIndex.GetIndexedKeys().Contains(key)
                ? VertexKeyIndex.Get(key, value).Cast <IVertex>()
                : new PropertyFilteredIterable <IVertex>(key, value, GetVertices()));
 }
Esempio n. 2
0
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     if (_supportVertexIds && key == Id)
     {
         throw new ArgumentException(string.Concat("index key ", Id, " is reserved by idInnerTinkerGrapĥ"));
     }
     return(new IdVertexIterable(_baseGraph.GetVertices(key, value), this));
 }
Esempio n. 3
0
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     return(_graph.GetVertices(key, value));
 }
Esempio n. 4
0
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     return(new EventVertexIterable(BaseGraph.GetVertices(key, value), this));
 }
Esempio n. 5
0
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     return(new ReadOnlyVertexIterable(this, BaseGraph.GetVertices(key, value)));
 }
Esempio n. 6
0
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     throw RetrievalNotSupported();
 }