io.ebeaninternal.server.deploy.PartitionMeta Maven / Gradle / Ivy
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