Uses of Class
com.yahoo.document.DocumentType
Package
Description
Infrastructure for building Vespa documents and feed operations from JSON.
-
Uses of DocumentType in com.yahoo.document
Modifier 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 updates.DocumentUpdate.getType()
Returns the document type of this document update.DocumentTypeManager.registerDocumentType
(DocumentType docType) Registers a document type.Modifier 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.Modifier 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.ModifierConstructorDescriptionDocument
(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
Modifier and TypeMethodDescriptionstatic FieldPathUpdate
FieldPathUpdate.create
(FieldPathUpdate.Type type, DocumentType docType, DocumentUpdateReader reader) ModifierConstructorDescriptionAddFieldPathUpdate
(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
-
Uses of DocumentType in com.yahoo.document.json
-
Uses of DocumentType in com.yahoo.document.json.readers
Modifier and TypeMethodDescriptionVespaJsonDocumentReader.createDocumentOperation
(DocumentType documentType, DocumentParseInfo documentParseInfo) -
Uses of DocumentType in com.yahoo.document.serialization
Modifier and TypeMethodDescriptionDocumentReader.readDocumentType()
DocumentUpdateReader.readDocumentType()
VespaDocumentDeserializer6.readDocumentType()
Modifier and TypeMethodDescriptionvoid
DocumentWriter.write
(DocumentType type) void
VespaDocumentSerializer6.write
(DocumentType type) -
Uses of DocumentType in com.yahoo.document.update
-
Uses of DocumentType in com.yahoo.vespaxmlparser