// This method os not used in Values Query API
 public void ObjectMatch(OID oid, object @object, IOdbComparable orderByKey)
 {
     if (_query.IsMultiRow())
     {
         var values = ConvertObject((AttributeValuesMap)@object);
         if (_queryHasOrderBy)
         {
             _result.AddWithKey(orderByKey, values);
         }
         else
         {
             _result.Add(values);
         }
     }
     else
     {
         Compute((AttributeValuesMap)@object);
     }
 }
示例#2
0
 private void Merge(IOdbComparable key, IValues values)
 {
     while (values.HasNext())
     {
         if (_queryHasOrderBy)
         {
             _result.AddWithKey(key, values.NextValues());
         }
         else
         {
             _result.Add(values.NextValues());
         }
     }
 }