com.aerospike.jdbc.model.SchemaTableName Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aerospike-jdbc Show documentation
Show all versions of aerospike-jdbc Show documentation
A JDBC driver for the Aerospike database
package com.aerospike.jdbc.model;
import java.util.Objects;
public class SchemaTableName {
private final String schemaName;
private final String tableName;
public SchemaTableName(String schemaName, String tableName) {
this.schemaName = schemaName;
this.tableName = tableName;
}
public String getSchemaName() {
return schemaName;
}
public String getTableName() {
return tableName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SchemaTableName that = (SchemaTableName) o;
return Objects.equals(schemaName, that.schemaName) &&
Objects.equals(tableName, that.tableName);
}
@Override
public int hashCode() {
return Objects.hash(schemaName, tableName);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy