Uses of Class
com.yahoo.document.DocumentType
Packages that use DocumentType
Package
Description
Infrastructure for building Vespa documents and feed operations from JSON.
-
Uses of DocumentType in com.yahoo.document
Fields in com.yahoo.document declared as DocumentTypeMethods in com.yahoo.document that return DocumentTypeModifier and TypeMethodDescriptionDocumentType.clone()
Document.getDataType()
DocumentTypeManager.getDocumentType
(DataTypeName name) Gets a registered document.DocumentTypeManager.getDocumentType
(String name) Returns a registered document typeDocumentUpdate.getDocumentType()
Returns the type of the document this updatesDocumentUpdate.getType()
Returns the document type of this document update.DocumentTypeManager.registerDocumentType
(DocumentType docType) Registers a document type.Methods in com.yahoo.document that return types with arguments of type DocumentTypeModifier and TypeMethodDescriptionDocumentTypeManager.documentTypeIterator()
DocumentTypeManager.getDocumentTypes()
A read only view of the registered document typesDocumentType.getInheritedTypes()
Returns the DocumentNames which are directly inherited by this as a read-only collection.Methods in com.yahoo.document with parameters of type DocumentTypeModifier and TypeMethodDescriptionprotected int
Field.calculateIdV7
(DocumentType owner) The field id must be unique within a document type, and also within a (unknown at this time) hierarchy of document types.static ReferenceDataType
ReferenceDataType.createWithInferredId
(DocumentType targetType) Creates a new type where the numeric ID is based on the hash of targetTypevoid
DocumentType.inherit
(DocumentType type) Adds a document to the inherited document types of this.boolean
DocumentType.inherits
(DocumentType superType) Return whether this document type inherits the given document type.DocumentTypeManager.registerDocumentType
(DocumentType docType) Registers a document type.void
DocumentUpdate.setDocumentType
(DocumentType type) Sets the document type.void
Field.setId
(int newId, DocumentType owner) Sets the id of this field.Constructors in com.yahoo.document with parameters of type DocumentTypeModifierConstructorDescriptionDocument
(DocumentType docType, DocumentId id) Create a document with the given document type and identifier.Document
(DocumentType docType, String id) Create a document with the given document type and identifier.DocumentPut
(DocumentType docType, DocumentId docId) DocumentPut
(DocumentType docType, String docId) DocumentUpdate
(DocumentType docType, DocumentId docId) Creates a DocumentUpdate.DocumentUpdate
(DocumentType docType, String docId) Creates a DocumentUpdate.Field
(String name, DataType dataType, DocumentType owner) Creates a new field.ReferenceDataType
(DocumentType targetType, int id) -
Uses of DocumentType in com.yahoo.document.fieldpathupdate
Methods in com.yahoo.document.fieldpathupdate that return DocumentTypeMethods in com.yahoo.document.fieldpathupdate with parameters of type DocumentTypeModifier and TypeMethodDescriptionstatic FieldPathUpdate
FieldPathUpdate.create
(FieldPathUpdate.Type type, DocumentType docType, DocumentUpdateReader reader) Constructors in com.yahoo.document.fieldpathupdate with parameters of type DocumentTypeModifierConstructorDescriptionAddFieldPathUpdate
(DocumentType type, DocumentUpdateReader reader) AddFieldPathUpdate
(DocumentType type, String fieldPath) AddFieldPathUpdate
(DocumentType type, String fieldPath, Array newValues) AddFieldPathUpdate
(DocumentType type, String fieldPath, String whereClause, Array newValues) AssignFieldPathUpdate
(DocumentType type, DocumentUpdateReader reader) Creates an assign update from a serialized object.AssignFieldPathUpdate
(DocumentType type, String fieldPath) AssignFieldPathUpdate
(DocumentType type, String fieldPath, FieldValue newValue) AssignFieldPathUpdate
(DocumentType type, String fieldPath, String whereClause, FieldValue newValue) Creates an assignment update that overwrites the old value with the given new value.AssignFieldPathUpdate
(DocumentType type, String fieldPath, String whereClause, String expression) Creates an assign statement based on a mathematical expression.FieldPathUpdate
(FieldPathUpdate.Type updType, DocumentType docType) FieldPathUpdate
(FieldPathUpdate.Type updType, DocumentType docType, DocumentUpdateReader reader) FieldPathUpdate
(FieldPathUpdate.Type updType, DocumentType docType, String fieldPath, String whereClause) RemoveFieldPathUpdate
(DocumentType type, DocumentUpdateReader reader) RemoveFieldPathUpdate
(DocumentType type, String fieldPath) RemoveFieldPathUpdate
(DocumentType type, String fieldPath, String whereClause) -
Uses of DocumentType in com.yahoo.document.fieldset
Methods in com.yahoo.document.fieldset that return DocumentTypeConstructors in com.yahoo.document.fieldset with parameters of type DocumentType -
Uses of DocumentType in com.yahoo.document.json
Methods in com.yahoo.document.json that return DocumentTypeMethods in com.yahoo.document.json with parameters of type DocumentType -
Uses of DocumentType in com.yahoo.document.json.readers
Methods in com.yahoo.document.json.readers with parameters of type DocumentTypeModifier and TypeMethodDescriptionVespaJsonDocumentReader.createDocumentOperation
(DocumentType documentType, DocumentParseInfo documentParseInfo) -
Uses of DocumentType in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization that return DocumentTypeModifier and TypeMethodDescriptionDocumentReader.readDocumentType()
DocumentUpdateReader.readDocumentType()
VespaDocumentDeserializer6.readDocumentType()
Methods in com.yahoo.document.serialization with parameters of type DocumentTypeModifier and TypeMethodDescriptionvoid
DocumentWriter.write
(DocumentType type) void
VespaDocumentSerializer6.write
(DocumentType type) -
Uses of DocumentType in com.yahoo.document.update
Methods in com.yahoo.document.update that return DocumentTypeConstructors in com.yahoo.document.update with parameters of type DocumentType -
Uses of DocumentType in com.yahoo.vespaxmlparser
Methods in com.yahoo.vespaxmlparser that return DocumentType