Class TableKeyDef


  • public class TableKeyDef
    extends Object
    Table key or index.
    See Also:
    TableDef
    • Method Detail

      • getName

        @NotNull
        public String getName()
      • getTableName

        @NotNull
        public String getTableName()
      • getFields

        @NotNull
        public com.google.common.collect.ImmutableList<TableFieldDef> getFields()
      • getFieldNames

        @NotNull
        public String[] getFieldNames()
      • getFieldNamesString

        @NotNull
        public String getFieldNamesString()
      • isStable

        public boolean isStable()
        Determines whether this key is stable.
        Returns:
        true - stable.
        Since:
        9.0
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • contains

        public boolean contains​(TableFieldDef field)
        Checks whether this key contains the specified field.
        Parameters:
        field - field to find, this function performs the reference comparing.
        Returns:
        contains.