Improve NormalizedNodeInputStreamReader 76/78176/2
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 25 Nov 2018 17:29:17 +0000 (18:29 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 26 Nov 2018 21:35:39 +0000 (21:35 +0000)
commit43705f0d546ec7940e615b66c94c163c6047f831
treeeb9e76606488a7d8b696293380e2f0815d3c597a
parent7cbf10978045d70a01afe32e66aed57cb2dfb972
Improve NormalizedNodeInputStreamReader

We really want to retain source iteration order of predicates
being streamed into the system, as they usually match the order
locally.

Refactor NormalizedNodeInputStreamReader to read complete
NodeIdentifierWithPredicate objects, thus allowing us to use
ImmutableOffsetMapTemplate to skip some data checks and copying
around.

MDSAL: YANGTOOLS-917
Change-Id: I162919c7e56109fc98933a4eeae8669b030dc992
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NormalizedNodeInputStreamReader.java