Package | Description |
---|---|
com.yahoo.document | |
com.yahoo.document.fieldpathupdate | |
com.yahoo.document.fieldset | |
com.yahoo.document.serialization | |
com.yahoo.document.update |
Modifier and Type | Field and Description |
---|---|
static DocumentType |
DataType.DOCUMENT |
private DocumentType |
DocumentUpdate.documentType |
Modifier and Type | Field and Description |
---|---|
private Map<DataTypeName,DocumentType> |
DocumentTypeManager.documentTypes |
private List<DocumentType> |
DocumentType.inherits |
Modifier and Type | Method and Description |
---|---|
DocumentType |
DocumentType.clone() |
DocumentType |
Document.getDataType() |
DocumentType |
DocumentUpdate.getDocumentType()
Returns the type of the document this updates
|
DocumentType |
DocumentTypeManager.getDocumentType(DataTypeName name)
Gets a registered document.
|
DocumentType |
DocumentTypeManager.getDocumentType(String name)
Returns a registered document type
|
DocumentType |
DocumentUpdate.getType()
Returns the document type of this document update.
|
DocumentType |
DocumentTypeManager.registerDocumentType(DocumentType docType)
Registers a document type.
|
Modifier and Type | Method and Description |
---|---|
Iterator<DocumentType> |
DocumentTypeManager.documentTypeIterator() |
Map<DataTypeName,DocumentType> |
DocumentTypeManager.getDocumentTypes()
A read only view of the registered document types
|
Collection<DocumentType> |
DocumentType.getInheritedTypes()
Returns the DocumentNames which are directly inherited by this
as a read-only collection.
|
Modifier and Type | Method and Description |
---|---|
private int |
Field.calculateIdV6(DocumentType owner)
The field id must be unique within a document type, and also
within a (unknown at this time) hierarchy of document types.
|
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 targetType
|
void |
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.
|
private void |
Document.internalSetId(DocumentId id,
DocumentType docType) |
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.
|
private void |
Document.setNewType(DocumentType type) |
private void |
Field.validateId(int newId,
DocumentType owner,
int version) |
private void |
DocumentType.verifyTypeConsistency(DocumentType superType)
Fail if the subtype changes the type of any equally named field.
|
Constructor and Description |
---|
Document(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,
DocumentId docId,
List<FieldUpdate> fieldUpdates) |
DocumentUpdate(DocumentType docType,
String docId)
Creates a DocumentUpdate.
|
Field(String name,
DataType dataType,
boolean isHeader,
DocumentType owner)
Creates a new field.
|
ReferenceDataType(DocumentType targetType,
int id) |
Modifier and Type | Field and Description |
---|---|
private DocumentType |
FieldPathUpdate.docType |
Modifier and Type | Method and Description |
---|---|
DocumentType |
FieldPathUpdate.getDocumentType() |
Modifier and Type | Method and Description |
---|---|
static FieldPathUpdate |
FieldPathUpdate.create(FieldPathUpdate.Type type,
DocumentType docType,
DocumentUpdateReader reader) |
Modifier and Type | Field and Description |
---|---|
(package private) DocumentType |
FieldCollection.docType |
Modifier and Type | Method and Description |
---|---|
DocumentType |
FieldCollection.getDocumentType() |
Constructor and Description |
---|
FieldCollection(DocumentType type) |
Modifier and Type | Method and Description |
---|---|
DocumentType |
DocumentUpdateReader.readDocumentType() |
DocumentType |
VespaDocumentDeserializer42.readDocumentType()
Deprecated.
|
DocumentType |
DocumentReader.readDocumentType() |
Modifier and Type | Method and Description |
---|---|
void |
XmlDocumentWriter.write(DocumentType type) |
void |
DocumentWriter.write(DocumentType type) |
void |
VespaDocumentSerializer42.write(DocumentType type)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private DocumentType |
FieldUpdate.documentType |
Modifier and Type | Method and Description |
---|---|
DocumentType |
FieldUpdate.getDocumentType() |
Constructor and Description |
---|
FieldUpdate(DocumentUpdateReader reader,
DocumentType type,
int serializationVersion) |
Copyright © 2017. All rights reserved.