Uses of Class
com.yahoo.document.Document
Packages that use Document
Package
Description
Infrastructure for building Vespa documents and feed operations from JSON.
-
Uses of Document in com.yahoo.document
Methods in com.yahoo.document that return DocumentModifier and TypeMethodDescriptionDocument.clone()
static Document
Document.createDocument
(DocumentReader buffer) DocumentTypeManager.createDocument
(DocumentDeserializer data) final Document
DocumentTypeManager.createDocument
(com.yahoo.io.GrowableByteBuffer buf) DocumentType.createFieldValue()
DocumentPut.getDocument()
Methods in com.yahoo.document with parameters of type DocumentModifier and TypeMethodDescriptionApplies this document update.Prune away any field update that will not modify any field in the document.Constructors in com.yahoo.document with parameters of type DocumentModifierConstructorDescriptionCreates a document that is a shallow copy of another.DocumentPut
(Document document) DocumentPut
(DocumentPut other, Document newDocument) Base this DocumentPut on another, but use newDocument as the Document.SimpleDocument
(Document document) -
Uses of Document in com.yahoo.document.fieldpathupdate
Methods in com.yahoo.document.fieldpathupdate with parameters of type Document -
Uses of Document in com.yahoo.document.fieldset
Methods in com.yahoo.document.fieldset with parameters of type DocumentModifier and TypeMethodDescriptionvoid
FieldSetRepo.copyFields
(Document source, Document target, FieldSet fieldSet) Copies fields from one document to another based on whether the fields match the given fieldset.void
FieldSetRepo.stripFields
(Document target, FieldSet fieldSet) Strips all fields not wanted by the given field set from the document. -
Uses of Document in com.yahoo.document.json
Methods in com.yahoo.document.json with parameters of type DocumentModifier and TypeMethodDescriptionstatic byte[]
JsonWriter.toByteArray
(Document document) Utility method to easily serialize a single document.static byte[]
JsonWriter.toByteArray
(Document document, boolean tensorShortForm, boolean tensorDirectValues) Utility method to easily serialize a single document.void
void
void
JsonWriter.writeFields
(Document value) -
Uses of Document in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization with parameters of type DocumentModifier and TypeMethodDescriptionstatic long
VespaDocumentSerializer6.getSerializedSize
(Document doc) Returns the serialized size of the givenDocument
.static void
XmlSerializationHelper.printDocumentXml
(Document doc, XmlStream xml) Deprecated.void
Read a documentvoid
Read in the value of fieldvoid
void
void
Writes a document.void
Writes the value of a field.void
void
-
Uses of Document in com.yahoo.document.update
Methods in com.yahoo.document.update with parameters of type DocumentModifier and TypeMethodDescriptionApplies this field update. -
Uses of Document in com.yahoo.vespaxmlparser
Methods in com.yahoo.vespaxmlparser with parameters of type Document