예제 #1
0
  public boolean isDeleted(ByteBuffer name, long timestamp) {
    // We do rely on this test: if topLevel.markedForDeleteAt is MIN_VALUE, we should not
    // consider the column deleted even if timestamp=MIN_VALUE, otherwise this break
    // QueryFilter.isRelevant
    if (isLive()) return false;

    if (timestamp <= topLevel.markedForDeleteAt) return true;

    return ranges != null && ranges.isDeleted(name, timestamp);
  }