public class IdIdString extends IdString
IdString.GidModifier, IdString.Scheme
Modifier and Type | Field and Description |
---|---|
private String |
group |
private boolean |
hasGroup |
private boolean |
hasNumber |
private long |
location |
private String |
type |
cache, namespace, namespaceSpecific, scheme
Constructor and Description |
---|
IdIdString(String namespace,
String type,
String keyValues,
String localId)
Create an id scheme object.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocType() |
String |
getGroup() |
long |
getLocation() |
long |
getNumber() |
String |
getSchemeSpecific() |
boolean |
hasDocType() |
boolean |
hasGroup() |
boolean |
hasNumber() |
private static long |
makeLocation(String s) |
static String |
replaceType(String id,
String typeName) |
createFromSerialized, createIdString, equals, generateOrderDocParams, getGidModifier, getNamespace, getNamespaceSpecific, getSchemeParameters, getType, hashCode, toString, toUtf8
private String type
private String group
private long location
private boolean hasGroup
private boolean hasNumber
public IdIdString(String namespace, String type, String keyValues, String localId)
doc:<namespace>:<documentType>:<key-value-pairs>:<namespaceSpecific>
namespace
- The namespace of this document id.type
- The type of this document id.keyValues
- The key/value pairs of this document id.localId
- The namespace specific part.private static long makeLocation(String s)
public long getLocation()
getLocation
in class IdString
public String getSchemeSpecific()
getSchemeSpecific
in class IdString
public boolean hasDocType()
hasDocType
in class IdString
public String getDocType()
getDocType
in class IdString
Copyright © 2018. All rights reserved.