Add TableSchema.getColumnList() 39/86139/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 11:01:38 +0000 (12:01 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 3 Dec 2019 11:43:40 +0000 (12:43 +0100)
commitf53283b85c105c7b8fb56b0094ea8ddc389aed5b
tree6cc56e4b9c3ad3198c96f11fe5f116d86e7f0c29
parentcd1eecbf1122f7ad5015f3b192d422e8e620c326
Add TableSchema.getColumnList()

There are a number of callers which need to populate the columns
as a List. This adds a simple cached wrapper to allow in-place
reuse of the backing collection.

Change-Id: I3add766905b0a5d520b5cdc8f551fca411e7b137
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepConnectionManager.java
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepTableReader.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/schema/TableSchema.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbConnectionManager.java