public final class IndexKey extends Object implements Comparable<IndexKey>
| Modifier and Type | Field and Description |
|---|---|
boolean |
delete |
String |
id |
String |
index |
String |
parent |
String |
type |
long |
version |
| Constructor and Description |
|---|
IndexKey(String index,
String type,
String id,
long version) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IndexKey other) |
IndexKey |
delete() |
boolean |
equals(Object o) |
int |
hashCode() |
static IndexKey |
keyWith(String type,
String id) |
static IndexKey |
keyWith(String index,
String type,
String id) |
static IndexKey |
keyWithParent(String index,
String type,
String parent) |
static IndexKey |
keyWithParent(String index,
String type,
String id,
String parent) |
String |
uniqueId() |
IndexKey |
version(long version) |
public final String index
public final String type
public final String id
public final long version
public final boolean delete
public final String parent
public String uniqueId()
public IndexKey delete()
public IndexKey version(long version)
public static IndexKey keyWithParent(String index, String type, String id, String parent)
public int compareTo(IndexKey other)
compareTo in interface Comparable<IndexKey>Copyright © 2012–2015 Polyglotted IO. All rights reserved.