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

    Constructors
    Constructor
    Description
    OwnedStructDataType(String name, com.yahoo.document.DocumentType document)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     
     
     
     
     

    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, 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

      public OwnedStructDataType(String name, com.yahoo.document.DocumentType document)
    • OwnedStructDataType

      public OwnedStructDataType(String name, String owner)
  • Method Details

    • enableOverride

      public void enableOverride()
    • getOwnerName

      public String getOwnerName()
      Specified by:
      getOwnerName in interface OwnedType
    • getUniqueName

      public String getUniqueName()
      Specified by:
      getUniqueName in interface OwnedType
    • getName

      public String getName()
      Overrides:
      getName in class com.yahoo.document.DataType
    • getId

      public int getId()
      Overrides:
      getId in class com.yahoo.document.DataType
    • toString

      public String toString()
      Overrides:
      toString in class com.yahoo.document.DataType