Package com.yahoo.document.idstring
Class IdIdString
java.lang.Object
com.yahoo.document.idstring.IdString
com.yahoo.document.idstring.IdIdString
- Author:
- Magnar Nedland
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.document.idstring.IdString
IdString.Scheme
-
Constructor Summary
ConstructorDescriptionIdIdString
(String namespace, String type, String keyValues, String localId) Create an id scheme object. -
Method Summary
Methods inherited from class com.yahoo.document.idstring.IdString
createFromSerialized, createIdString, createIdStringLessStrict, equals, getNamespace, getNamespaceSpecific, getSchemeParameters, getType, hashCode, toString, toUtf8
-
Constructor Details
-
IdIdString
Create an id scheme object.doc:<namespace>:<documentType>:<key-value-pairs>:<namespaceSpecific>
- Parameters:
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.
-
-
Method Details
-
makeLocation
-
getLocation
public long getLocation()- Specified by:
getLocation
in classIdString
-
getSchemeSpecific
- Specified by:
getSchemeSpecific
in classIdString
-
hasDocType
public boolean hasDocType()- Overrides:
hasDocType
in classIdString
-
getDocType
- Overrides:
getDocType
in classIdString
-
hasGroup
public boolean hasGroup() -
getGroup
-
hasNumber
public boolean hasNumber() -
getNumber
public long getNumber()
-