示例#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()));
 }
示例#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));
 }
示例#3
0
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     return(_graph.GetVertices(key, value));
 }
示例#4
0
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     return(new EventVertexIterable(BaseGraph.GetVertices(key, value), this));
 }
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     return(new ReadOnlyVertexIterable(this, BaseGraph.GetVertices(key, value)));
 }
示例#6
0
 public IEnumerable <IVertex> GetVertices(string key, object value)
 {
     GraphContract.ValidateGetVertices(key, value);
     throw RetrievalNotSupported();
 }