Interface IKeyConstraint

All Superinterfaces:
IAttributable, IConfigurableMessageConstraint, IConstraint, IDescribable
All Known Subinterfaces:
IIndexConstraint, IIndexHasKeyConstraint, IUniqueConstraint

public interface IKeyConstraint extends IConfigurableMessageConstraint
A common interface used for constraints oriented around key-based indexes.
  • Method Details

    • getKeyFields

      @NonNull List<? extends IKeyField> getKeyFields()
      Retrieve the list of keys to use in creating and looking up an entry in a given index.
      Returns:
      one or more keys