Class KeyValuePair

java.lang.Object
com.cloudera.cdp.opdb.model.KeyValuePair

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.282-07:00") public class KeyValuePair extends Object
Generic key-value type, because map<> is not supported
  • Constructor Details

    • KeyValuePair

      public KeyValuePair()
  • Method Details

    • getKey

      public String getKey()
      Getter for key. Key
    • setKey

      public void setKey(String key)
      Setter for key. Key
    • getValue

      public String getValue()
      Getter for value. Value
    • setValue

      public void setValue(String value)
      Setter for value. Value
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object