Interface Field

    • Method Detail

      • getName

        String getName()
        Gets the name of the field.
        Specified by:
        getName in interface Named
        Returns:
        the field name
      • getProperties

        Map<String,​String> getProperties()
        Returns a map of key-value pairs associated with this field. The returned map will always be immutable.
        Returns:
        a map of key-value pairs associated with this field.
      • isPrimaryKey

        boolean isPrimaryKey()
        Returns whether this field is the primary key of the record. In order to be a primary key, the field must be of Comparable type and must be unique within the record. Note that the framework will not make any attempt to enforce uniqueness; rather this is purely a declaration. Finally, a given record may have at most one primary key.
        Returns:
        whether this field is the primary key of the record