public class UserDocIdString extends IdString
IdString.GidModifier, IdString.Scheme
Modifier and Type | Field and Description |
---|---|
(package private) long |
userId |
cache, namespace, namespaceSpecific, scheme
Constructor and Description |
---|
UserDocIdString(String namespace,
long userId,
String namespaceSpecific)
Create a userdoc scheme object.
|
Modifier and Type | Method and Description |
---|---|
long |
getLocation()
Get the location of this document id.
|
long |
getNumber() |
String |
getSchemeSpecific()
Get the scheme specific part.
|
long |
getUserId() |
boolean |
hasNumber() |
createFromSerialized, createIdString, equals, generateOrderDocParams, getDocType, getGidModifier, getGroup, getNamespace, getNamespaceSpecific, getSchemeParameters, getType, hasDocType, hasGroup, hashCode, toString, toUtf8
public UserDocIdString(String namespace, long userId, String namespaceSpecific)
userdoc:<namespace>:<userid>:<namespaceSpecific>
namespace
- The namespace of this document id.userId
- 64 bit user id of this userdoc id.namespaceSpecific
- The namespace specific part.public long getLocation()
getLocation
in class IdString
public String getSchemeSpecific()
getSchemeSpecific
in class IdString
public long getUserId()
Copyright © 2017. All rights reserved.