org.fluentjdbc.DatabaseColumnReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-jdbc Show documentation
Show all versions of fluent-jdbc Show documentation
A Java library used to execute JDBC statements and build SQL
package org.fluentjdbc;
public class DatabaseColumnReference {
private final String columnName;
private final String tableName;
private final DatabaseTableAlias alias;
DatabaseColumnReference(DatabaseTableAlias alias, String columnName) {
this.columnName = columnName;
this.tableName = alias.getTableName();
this.alias = alias;
}
public DatabaseTableAlias getTableAlias() {
return alias;
}
public String getTableName() {
return tableName;
}
public String getQualifiedColumnName() {
return alias.getAlias() + "." + columnName;
}
public String getTableNameAndAlias() {
return alias.getTableNameAndAlias();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy