Esempio n. 1
0
 private IEnumerator IterateIndex(FieldIndexProcessorResult result)
 {
     if (result.NoMatch())
     {
         return(Iterators.EmptyIterator);
     }
     if (result.FoundIndex())
     {
         return(result.IterateIDs());
     }
     if (!i_classMetadata.HasClassIndex())
     {
         return(Iterators.EmptyIterator);
     }
     return(BTreeClassIndexStrategy.Iterate(i_classMetadata, i_trans));
 }
 public virtual IEnumerator ClassIndexIterator(ClassMetadata clazz)
 {
     return(BTreeClassIndexStrategy.Iterate(clazz, Transaction()));
 }