public class OrderDocIdString extends IdString
IdString.GidModifier, IdString.Scheme
Modifier and Type | Field and Description |
---|---|
(package private) int |
divisionBits |
(package private) String |
group |
(package private) long |
location |
(package private) long |
ordering |
(package private) int |
widthBits |
cache, namespace, namespaceSpecific, scheme
Constructor and Description |
---|
OrderDocIdString(String namespace,
String group,
int widthBits,
int divisionBits,
long ordering,
String namespaceSpecific)
Create a groupdoc scheme object.
|
Modifier and Type | Method and Description |
---|---|
int |
getDivisionBits() |
IdString.GidModifier |
getGidModifier() |
String |
getGroup() |
long |
getLocation()
Get the location of this document id.
|
long |
getNumber() |
long |
getOrdering() |
String |
getSchemeParameters() |
String |
getSchemeSpecific()
Get the scheme specific part.
|
long |
getUserId() |
int |
getWidthBits() |
boolean |
hasGroup() |
boolean |
hasNumber() |
createFromSerialized, createIdString, equals, generateOrderDocParams, getDocType, getNamespace, getNamespaceSpecific, getType, hasDocType, hashCode, toString, toUtf8
String group
int widthBits
int divisionBits
long ordering
long location
public OrderDocIdString(String namespace, String group, int widthBits, int divisionBits, long ordering, String namespaceSpecific)
groupdoc:<namespace>:<group>:<namespaceSpecific>
namespace
- The namespace of this document id.group
- The groupname of this groupdoc id.widthBits
- The number of bits used for the width of the data setdivisionBits
- The number of bits used for the smalles partitioning of the data setordering
- A value used to order documents of this type.namespaceSpecific
- The namespace specific part.public long getLocation()
getLocation
in class IdString
public String getSchemeParameters()
getSchemeParameters
in class IdString
public String getSchemeSpecific()
getSchemeSpecific
in class IdString
public IdString.GidModifier getGidModifier()
getGidModifier
in class IdString
public String getGroup()
public long getUserId()
public int getWidthBits()
public int getDivisionBits()
public long getOrdering()
Copyright © 2017. All rights reserved.