public bool IsNavigableAtAll(int streamFrom, int streamTo) { var key = new QueryGraphKey(streamFrom, streamTo); var value = _streamJoinMap.Get(key); return(value != null && !value.IsEmptyNotNavigable); }
public QueryGraphValue GetGraphValue(int streamLookup, int streamIndexed) { var key = new QueryGraphKey(streamLookup, streamIndexed); var value = _streamJoinMap.Get(key); if (value != null) { return value; } return new QueryGraphValue(); }
private QueryGraphValue GetCreateValue(int streamKey, int streamValue) { Check(streamValue, streamKey); var key = new QueryGraphKey(streamKey, streamValue); var value = _streamJoinMap.Get(key); if (value == null) { value = new QueryGraphValue(); _streamJoinMap.Put(key, value); } return value; }