Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import com.google.cloud.bigtable.data.v2.models.sql.ColumnMetadata;
import com.google.cloud.bigtable.data.v2.models.sql.ResultSetMetadata;
import com.google.cloud.bigtable.data.v2.models.sql.SqlType;
import com.google.common.base.Objects;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import java.util.List;
Expand Down Expand Up @@ -94,4 +95,9 @@ public boolean equals(@Nullable Object other) {
}
return false;
}

@Override
public int hashCode() {
return Objects.hashCode(columns);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,9 @@ public boolean equals(Object o) {
SampleRowKeysRequest sampleRowKeysRequest = (SampleRowKeysRequest) o;
return Objects.equal(targetId, sampleRowKeysRequest.targetId);
}

@Override
public int hashCode() {
return Objects.hashCode(targetId);
}
}
Loading