public abstract class IdString extends Object
Modifier and Type | Class and Description |
---|---|
class |
IdString.GidModifier |
static class |
IdString.Scheme |
Modifier and Type | Field and Description |
---|---|
(package private) com.yahoo.text.Utf8String |
cache |
(package private) String |
namespace |
(package private) String |
namespaceSpecific |
(package private) IdString.Scheme |
scheme |
Modifier | Constructor and Description |
---|---|
protected |
IdString(IdString.Scheme scheme,
String namespace,
String namespaceSpecific) |
final IdString.Scheme scheme
final String namespace
final String namespaceSpecific
com.yahoo.text.Utf8String cache
protected IdString(IdString.Scheme scheme, String namespace, String namespaceSpecific)
public boolean hasDocType()
public String getDocType()
public boolean hasGroup()
public boolean hasNumber()
public long getNumber()
public String getGroup()
public static int[] generateOrderDocParams(String scheme)
public static IdString createIdString(String id)
public static IdString createFromSerialized(String id)
private static void validateTextString(String id)
private static void validateNoZeroBytes(String id)
public IdString.Scheme getType()
public String getNamespace()
public String getNamespaceSpecific()
public abstract long getLocation()
public String getSchemeParameters()
public abstract String getSchemeSpecific()
public IdString.GidModifier getGidModifier()
private com.yahoo.text.Utf8String createToString()
public com.yahoo.text.Utf8String toUtf8()
Copyright © 2018. All rights reserved.