Class HotRodStringPair


  • @ProtoDoc("@Indexed")
    public class HotRodStringPair
    extends Object
    !!! Please do not change this class !!! If some change is needed please create a new version of this class and solve the migration on top-level entities. Indexed Hot Rod pair entity where both key and value are String type. The entity should be used when there is a need to search by key or/and value. Otherwise HotRodPair should be used.
    • Field Detail

      • key

        @ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
        @ProtoField(number=1)
        public String key
      • value

        @ProtoDoc("@Field(index = Index.YES, store = Store.YES)")
        @ProtoField(number=2)
        public String value
    • Constructor Detail

      • HotRodStringPair

        public HotRodStringPair()
      • HotRodStringPair

        public HotRodStringPair​(String key,
                                String value)
    • Method Detail

      • getKey

        public String getKey()
      • getValue

        public String getValue()
      • setKey

        public void setKey​(String key)
      • setValue

        public void setValue​(String value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object