Class KeyValues


  • public class KeyValues
    extends java.lang.Object
    Wrapper that provides a way to identify quickly if the key values are identical or not.
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyValues​(int id, java.util.Map<java.lang.String,​java.lang.Object> keyValues)  
      KeyValues​(org.apache.avro.generic.GenericRecord genericRecord)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      int getId()  
      java.util.Map<java.lang.String,​java.lang.Object> getKeyValues()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyValues

        public KeyValues​(org.apache.avro.generic.GenericRecord genericRecord)
      • KeyValues

        public KeyValues​(int id,
                         java.util.Map<java.lang.String,​java.lang.Object> keyValues)
    • Method Detail

      • getId

        public int getId()
      • getKeyValues

        public java.util.Map<java.lang.String,​java.lang.Object> getKeyValues()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object