All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.deploy.PartitionMeta Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.deploy;

import io.ebean.annotation.PartitionMode;

public final class PartitionMeta {

  private final PartitionMode mode;
  private String property;

  public PartitionMeta(PartitionMode mode, String property) {
    this.mode = mode;
    this.property = property;
  }

  public PartitionMode getMode() {
    return mode;
  }

  /**
   * Originally the property name but replaced with the db column.
   */
  public String getProperty() {
    return property;
  }

  /**
   * Set the db column being partitioned on.
   */
  public void setColumn(String dbColumn) {
    this.property = dbColumn;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy