Package com.yahoo.documentmodel
Class OwnedStructDataType
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.document.DataType
com.yahoo.document.StructuredDataType
com.yahoo.document.BaseStructDataType
com.yahoo.document.StructDataType
com.yahoo.documentmodel.OwnedStructDataType
- All Implemented Interfaces:
OwnedType
,Cloneable
,Comparable<com.yahoo.document.DataType>
public final class OwnedStructDataType
extends com.yahoo.document.StructDataType
implements OwnedType
Model for StructDataType declared in a specific document
- Author:
- arnej
-
Field Summary
Fields inherited from class com.yahoo.document.StructDataType
classId
Fields inherited from class com.yahoo.document.BaseStructDataType
fieldIds, fields
Fields inherited from class com.yahoo.document.DataType
BOOL, BYTE, DOCUMENT, DOUBLE, FLOAT, FLOAT16, INT, LONG, NONE, PREDICATE, RAW, STRING, TAG, tensorDataTypeCode, URI
-
Constructor Summary
ConstructorDescriptionOwnedStructDataType
(String name, com.yahoo.document.DocumentType document) OwnedStructDataType
(String name, String owner) -
Method Summary
Methods inherited from class com.yahoo.document.StructDataType
addField, assign, clone, createFieldValue, createFieldValue, equals, getField, getField, getFieldCount, getFields, getFieldsThisTypeOnly, getInheritedTypes, getValueClass, hashCode, inherit, inherits, isValueCompatible
Methods inherited from class com.yahoo.document.BaseStructDataType
assign, clearFields, hasField, hasField, removeField
Methods inherited from class com.yahoo.document.StructuredDataType
buildFieldPath, createByReflection, createId, getDataTypeName, register
Methods inherited from class com.yahoo.document.DataType
compareTo, getArray, getCode, getMap, getPrimitiveType, getTensor, getWeightedSet, getWeightedSet, isAssignableFrom, isMultivalue, isRegistered, lastPredefinedDataTypeId, register, setId, setName, visitMembers
Methods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, onDeserialize, onGetClassId, onSerialize, putUtf8, registerClass, registerClass, serialize, serializeOptional, serializeWithId
Methods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.documentmodel.OwnedType
getUniqueId
-
Constructor Details
-
OwnedStructDataType
-
OwnedStructDataType
-
-
Method Details
-
enableOverride
public void enableOverride() -
getOwnerName
- Specified by:
getOwnerName
in interfaceOwnedType
-
getUniqueName
- Specified by:
getUniqueName
in interfaceOwnedType
-
getName
- Overrides:
getName
in classcom.yahoo.document.DataType
-
getId
public int getId()- Overrides:
getId
in classcom.yahoo.document.DataType
-
toString
- Overrides:
toString
in classcom.yahoo.document.DataType
-