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 DocumentDocument.createDocument(DocumentReader buffer) DocumentTypeManager.createDocument(DocumentDeserializer data) final DocumentDocumentTypeManager.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 TypeMethodDescriptionvoidFieldSetRepo.copyFields(Document source, Document target, FieldSet fieldSet) Copies fields from one document to another based on whether the fields match the given fieldset.voidFieldSetRepo.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.static byte[]JsonWriter.toByteArray(Document document, com.yahoo.tensor.serialization.JsonFormat.EncodeOptions tensorOptions) Utility method to easily serialize a single document.voidvoidvoidJsonWriter.writeFields(Document value) -
Uses of Document in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization with parameters of type DocumentModifier and TypeMethodDescriptionstatic voidXmlSerializationHelper.printDocumentXml(Document doc, XmlStream xml) Deprecated.voidRead a documentvoidRead in the value of fieldvoidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidWrites a document.voidWrites the value of a field.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version. -
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