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

com.aerospike.jdbc.model.SchemaTableName Maven / Gradle / Ivy

There is a newer version: 1.9.2
Show newest version
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