This is an automated email from the ASF dual-hosted git repository.

yanxinyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
     new 9778ba2  PHOENIX-6093 adding hashcode to phoenix pherf Column class
9778ba2 is described below

commit 9778ba24333aa60f332328484559768cf0438039
Author: Xinyi Yan <x...@salesforce.com>
AuthorDate: Fri Aug 21 13:58:13 2020 -0700

    PHOENIX-6093 adding hashcode to phoenix pherf Column class
    
    Signed-off-by: Xinyi Yan <yanxi...@apache.org>
---
 .../main/java/org/apache/phoenix/pherf/configuration/Column.java    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/configuration/Column.java
 
b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/configuration/Column.java
index 60646ea..ee57685 100644
--- 
a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/configuration/Column.java
+++ 
b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/configuration/Column.java
@@ -23,6 +23,7 @@ import org.apache.phoenix.pherf.rules.DataValue;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlElementWrapper;
 import java.util.List;
+import java.util.Objects;
 
 public class Column {
        private String name;
@@ -55,6 +56,11 @@ public class Column {
         this.mutate(column);
     }
 
+    @Override
+    public int hashCode() {
+        return Objects.hash(this.type);
+    }
+
     /**
      * Equal if column name and type match
      * @param column

Reply via email to