Esempio n. 1
0
        public bool TryGetIndex(ulong collectionId, long keyId, out VectorNode index)
        {
            var colIndex = _index.GetIndex(collectionId);

            if (colIndex != null)
            {
                return(colIndex.TryGetValue(keyId, out index));
            }

            index = null;

            return(false);
        }
Esempio n. 2
0
 public SortedList <long, VectorNode> GetCollectionIndex(ulong collectionId)
 {
     return(_index.GetIndex(collectionId));
 }