Uses of Class
com.yahoo.document.DocumentId
Packages that use DocumentId
Package
Description
Infrastructure for building Vespa documents and feed operations from JSON.
-
Uses of DocumentId in com.yahoo.document
Methods in com.yahoo.document that return DocumentIdModifier and TypeMethodDescriptionDocumentId.clone()
static DocumentId
DocumentId.createFromSerialized
(String id) Creates a document id based on a serialized document id URI string.Document.getId()
DocumentGet.getId()
abstract DocumentId
DocumentOperation.getId()
DocumentPut.getId()
DocumentRemove.getId()
DocumentUpdate.getId()
Methods in com.yahoo.document with parameters of type DocumentIdModifier and TypeMethodDescriptionboolean
BucketId.contains
(DocumentId docId, BucketIdFactory factory) BucketIdFactory.getBucketId
(DocumentId doc) Get the bucket id for a given document.void
Document.setId
(DocumentId id) void
DocumentUpdate.setId
(DocumentId id) Sets the document id of the document to update.Constructors in com.yahoo.document with parameters of type DocumentIdModifierConstructorDescriptionDocument
(DocumentType docType, DocumentId id) Create a document with the given document type and identifier.DocumentGet
(DocumentId docId) DocumentPut
(DocumentType docType, DocumentId docId) DocumentRemove
(DocumentId docId) DocumentUpdate
(DocumentType docType, DocumentId docId) Creates a DocumentUpdate. -
Uses of DocumentId in com.yahoo.document.datatypes
Methods in com.yahoo.document.datatypes that return DocumentIdModifier and TypeMethodDescriptionReferenceFieldValue.getWrappedValue()
Expose target document ID as this value's wrapped value.Methods in com.yahoo.document.datatypes that return types with arguments of type DocumentIdMethods in com.yahoo.document.datatypes with parameters of type DocumentIdConstructors in com.yahoo.document.datatypes with parameters of type DocumentIdModifierConstructorDescriptionReferenceFieldValue
(ReferenceDataType referenceType, DocumentId documentId) Creates a reference pointing to a particular document instance in the document type referenced byreferenceType
. -
Uses of DocumentId in com.yahoo.document.json
Fields in com.yahoo.document.json declared as DocumentIdMethods in com.yahoo.document.json that return DocumentIdMethods in com.yahoo.document.json with parameters of type DocumentIdModifier and TypeMethodDescriptionstatic JsonReaderException
JsonReaderException.addDocId
(JsonReaderException oldException, DocumentId docId) static byte[]
JsonWriter.documentRemove
(DocumentId docId) Utility method to easily serialize a single document ID as a remove operation.JsonReader.readDocumentType
(DocumentId docId) void
JsonWriter.write
(DocumentId id) Constructors in com.yahoo.document.json with parameters of type DocumentIdModifierConstructorDescriptionJsonReaderException
(DocumentId docId, Field field, Throwable cause) -
Uses of DocumentId in com.yahoo.document.json.document
Method parameters in com.yahoo.document.json.document with type arguments of type DocumentIdModifier and TypeMethodDescriptionDocumentParser.parse
(Optional<DocumentId> documentIdArg) Parses a single document and returns it. -
Uses of DocumentId in com.yahoo.document.json.readers
Fields in com.yahoo.document.json.readers declared as DocumentId -
Uses of DocumentId in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization that return DocumentIdModifier and TypeMethodDescriptionDocumentReader.readDocumentId()
DocumentUpdateReader.readDocumentId()
VespaDocumentDeserializer6.readDocumentId()
Methods in com.yahoo.document.serialization with parameters of type DocumentIdModifier and TypeMethodDescriptionvoid
DocumentWriter.write
(DocumentId id) void
VespaDocumentSerializer6.write
(DocumentId id) -
Uses of DocumentId in com.yahoo.vespaxmlparser
Methods in com.yahoo.vespaxmlparser that return DocumentId