Enum PartitionMode

java.lang.Object
java.lang.Enum<PartitionMode>
io.ebean.annotation.PartitionMode
All Implemented Interfaces:
Serializable, Comparable<PartitionMode>

public enum PartitionMode extends Enum<PartitionMode>
Common partition modes.
  • Enum Constant Details

    • DAY

      public static final PartitionMode DAY
      Daily partitioning.
    • WEEK

      public static final PartitionMode WEEK
      Weekly partitioning.
    • MONTH

      public static final PartitionMode MONTH
      Month based partitioning.
    • YEAR

      public static final PartitionMode YEAR
      Year based partitioning.
  • Method Details

    • values

      public static PartitionMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PartitionMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null