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

com.clickzetta.platform.client.api.multi.TableIdentifier Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package com.clickzetta.platform.client.api.multi;

import java.io.Serializable;
import java.util.Objects;

public class TableIdentifier implements Serializable {
  public String schemaName;
  public String tableName;

  public TableIdentifier(String schemaName, String tableName) {
    this.schemaName = schemaName;
    this.tableName = tableName;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof TableIdentifier)) return false;
    TableIdentifier that = (TableIdentifier) o;
    return Objects.equals(schemaName, that.schemaName) && Objects.equals(tableName, that.tableName);
  }

  @Override
  public int hashCode() {
    return Objects.hash(schemaName, tableName);
  }

  @Override
  public String toString() {
    return "TableIdentifier{" +
        "schemaName='" + schemaName + '\'' +
        ", tableName='" + tableName + '\'' +
        '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy