com.rapid7.armor.schema.DiffTableName Maven / Gradle / Ivy
package com.rapid7.armor.schema;
import com.rapid7.armor.interval.Interval;
public final class DiffTableName {
private DiffTableName() {}
public static String generatePlusTableDiffName(String table, Interval interval, ColumnId columnId) {
return table + "_" + interval.name().toLowerCase() + "_" + columnId.getName().toLowerCase() + "_plus";
}
public static String generateMinusTableDiffName(String table, Interval interval, ColumnId columnId) {
return table + "_" + interval.name().toLowerCase() + "_" + columnId.getName().toLowerCase() + "_minus";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy