Uses of Class
com.yahoo.document.DocumentType
-
Packages that use DocumentType Package Description com.yahoo.document com.yahoo.document.fieldpathupdate com.yahoo.document.fieldset com.yahoo.document.json Infrastructure for building Vespa documents and feed operations from JSON.com.yahoo.document.json.readers com.yahoo.document.serialization com.yahoo.document.update com.yahoo.vespaxmlparser -
-
Uses of DocumentType in com.yahoo.document
Fields in com.yahoo.document declared as DocumentType Modifier and Type Field Description static DocumentType
DataType. DOCUMENT
Methods in com.yahoo.document that return DocumentType Modifier and Type Method Description DocumentType
DocumentType. clone()
DocumentType
Document. getDataType()
DocumentType
DocumentTypeManager. getDocumentType(DataTypeName name)
Gets a registered document.DocumentType
DocumentTypeManager. getDocumentType(java.lang.String name)
Returns a registered document typeDocumentType
DocumentUpdate. getDocumentType()
Returns the type of the document this updatesDocumentType
DocumentUpdate. getType()
Returns the document type of this document update.DocumentType
DocumentTypeManager. registerDocumentType(DocumentType docType)
Registers a document type.Methods in com.yahoo.document that return types with arguments of type DocumentType Modifier and Type Method Description java.util.Iterator<DocumentType>
DocumentTypeManager. documentTypeIterator()
java.util.Map<DataTypeName,DocumentType>
DocumentTypeManager. getDocumentTypes()
A read only view of the registered document typesjava.util.Collection<DocumentType>
DocumentType. getInheritedTypes()
Returns the DocumentNames which are directly inherited by this as a read-only collection.Methods in com.yahoo.document with parameters of type DocumentType Modifier and Type Method Description protected 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.DocumentType
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 DocumentType Constructor Description Document(DocumentType docType, DocumentId id)
Create a document with the given document type and identifier.Document(DocumentType docType, java.lang.String id)
Create a document with the given document type and identifier.DocumentPut(DocumentType docType, DocumentId docId)
DocumentPut(DocumentType docType, java.lang.String docId)
DocumentUpdate(DocumentType docType, DocumentId docId)
Creates a DocumentUpdate.DocumentUpdate(DocumentType docType, java.lang.String docId)
Creates a DocumentUpdate.Field(java.lang.String name, DataType dataType, boolean isHeader, DocumentType owner)
Deprecated.Field(java.lang.String name, DataType dataType, DocumentType owner)
ReferenceDataType(DocumentType targetType, int id)
-
Uses of DocumentType in com.yahoo.document.fieldpathupdate
Methods in com.yahoo.document.fieldpathupdate that return DocumentType Modifier and Type Method Description DocumentType
FieldPathUpdate. getDocumentType()
Methods in com.yahoo.document.fieldpathupdate with parameters of type DocumentType Modifier and Type Method Description static FieldPathUpdate
FieldPathUpdate. create(FieldPathUpdate.Type type, DocumentType docType, DocumentUpdateReader reader)
Constructors in com.yahoo.document.fieldpathupdate with parameters of type DocumentType Constructor Description AddFieldPathUpdate(DocumentType type, DocumentUpdateReader reader)
AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath)
AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath, Array newValues)
AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath, java.lang.String whereClause, Array newValues)
AssignFieldPathUpdate(DocumentType type, DocumentUpdateReader reader)
Creates an assign update from a serialized object.AssignFieldPathUpdate(DocumentType type, java.lang.String fieldPath)
AssignFieldPathUpdate(DocumentType type, java.lang.String fieldPath, FieldValue newValue)
AssignFieldPathUpdate(DocumentType type, java.lang.String fieldPath, java.lang.String whereClause, FieldValue newValue)
Creates an assignment update that overwrites the old value with the given new value.AssignFieldPathUpdate(DocumentType type, java.lang.String fieldPath, java.lang.String whereClause, java.lang.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, java.lang.String fieldPath, java.lang.String whereClause)
RemoveFieldPathUpdate(DocumentType type, DocumentUpdateReader reader)
RemoveFieldPathUpdate(DocumentType type, java.lang.String fieldPath)
RemoveFieldPathUpdate(DocumentType type, java.lang.String fieldPath, java.lang.String whereClause)
-
Uses of DocumentType in com.yahoo.document.fieldset
Methods in com.yahoo.document.fieldset that return DocumentType Modifier and Type Method Description DocumentType
FieldCollection. getDocumentType()
Constructors in com.yahoo.document.fieldset with parameters of type DocumentType Constructor Description FieldCollection(DocumentType type)
-
Uses of DocumentType in com.yahoo.document.json
Methods in com.yahoo.document.json that return DocumentType Modifier and Type Method Description DocumentType
JsonReader. readDocumentType(DocumentId docId)
Methods in com.yahoo.document.json with parameters of type DocumentType Modifier and Type Method Description void
JsonWriter. write(DocumentType type)
-
Uses of DocumentType in com.yahoo.document.json.readers
Methods in com.yahoo.document.json.readers with parameters of type DocumentType Modifier and Type Method Description DocumentOperation
VespaJsonDocumentReader. createDocumentOperation(DocumentType documentType, DocumentParseInfo documentParseInfo)
-
Uses of DocumentType in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization that return DocumentType Modifier and Type Method Description DocumentType
DocumentReader. readDocumentType()
DocumentType
DocumentUpdateReader. readDocumentType()
DocumentType
VespaDocumentDeserializer6. readDocumentType()
Methods in com.yahoo.document.serialization with parameters of type DocumentType Modifier and Type Method Description void
DocumentWriter. write(DocumentType type)
void
VespaDocumentSerializer6. write(DocumentType type)
void
XmlDocumentWriter. write(DocumentType type)
-
Uses of DocumentType in com.yahoo.document.update
Methods in com.yahoo.document.update that return DocumentType Modifier and Type Method Description DocumentType
FieldUpdate. getDocumentType()
Constructors in com.yahoo.document.update with parameters of type DocumentType Constructor Description FieldUpdate(DocumentUpdateReader reader, DocumentType type)
FieldUpdate(DocumentUpdateReader reader, DocumentType type, int serializationVersion)
Deprecated. -
Uses of DocumentType in com.yahoo.vespaxmlparser
Methods in com.yahoo.vespaxmlparser that return DocumentType Modifier and Type Method Description DocumentType
VespaXMLFieldReader. readDocumentType()
-