class DocumentKey implements Comparable<DocumentKey> {

  public static DocumentKey fromSegments(List<String> segments) {
    return new DocumentKey(ResourcePath.fromSegments(segments));
  }

  private  DocumentKey(ResourcePath path);

}