protected void addProperties() { properties.put(MetastoreConstants.TABLE_TYPE_KEY, getTableType().name()); properties.put(MetastoreUtil.getCubeTableWeightKey(name), String.valueOf(weight())); }
protected void addProperties() { properties.put(MetastoreConstants.TABLE_TYPE_KEY, getTableType().name()); properties.put(MetastoreUtil.getCubeTableWeightKey(name), String.valueOf(weight())); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } AbstractCubeTable other = (AbstractCubeTable) obj; if (!this.getName().equalsIgnoreCase(other.getName())) { return false; } if (this.getColumns() == null) { if (other.getColumns() != null) { return false; } } else { if (!this.getColumns().equals(other.getColumns())) { return false; } } if (this.weight() != other.weight()) { return false; } return true; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } AbstractCubeTable other = (AbstractCubeTable) obj; if (!this.getName().equalsIgnoreCase(other.getName())) { return false; } if (this.getColumns() == null) { if (other.getColumns() != null) { return false; } } else { if (!this.getColumns().equals(other.getColumns())) { return false; } } if (this.weight() != other.weight()) { return false; } return true; }