Class ReferenceDataType

java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.document.DataType
com.yahoo.document.ReferenceDataType
All Implemented Interfaces:
Serializable, Cloneable, Comparable<DataType>

public class ReferenceDataType extends DataType
A ReferenceDataType specifies a particular concrete document type that a ReferenceFieldValue instance binds to.
Author:
vekterli
See Also:
  • Field Details

    • classId

      public static final int classId
  • Constructor Details

    • ReferenceDataType

      public ReferenceDataType(DocumentType targetType, int id)
    • ReferenceDataType

      public ReferenceDataType(TemporaryStructuredDataType temporaryTargetType, int id)
      Constructor used when building a multi document type model where the concrete instance of the target document type might not yet be known. The temporary data type should be replaced later using setTargetType().
  • Method Details