Cleanup WhereClausuleGetters 10/86110/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 01:08:46 +0000 (02:08 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 01:23:24 +0000 (02:23 +0100)
commit4a1acae74b517cf49c8e8f475b035433dd5778f2
treef26d5c46b884ad6c9e540196e8d01d6c096494eb
parentade0bd7c0811d0121c87bf72d781c2cb7cad7ffc
Cleanup WhereClausuleGetters

The implementation heree could use some love:
- define a dedicated interface place upper bound on polymorphism
- capture InstanceIdentifier type to remove a few casts
- cache associated table in object, removing the need for an
  explicit lookup

Change-Id: Ibd807010ab847d2961bfecb47e262180eac72728
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepTableReader.java