Improve NormalizedNodeInputStreamReader 96/78096/8
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 25 Nov 2018 17:29:17 +0000 (18:29 +0100)
committerRobert Varga <nite@hq.sk>
Sat, 1 Dec 2018 08:11:13 +0000 (08:11 +0000)
commit315a23ea8d215ac5b29fea613f31fd35f6a6899b
tree4d1cbc72e276a180f768428818981efbf6012651
parent7b53870f57716465016025c1d1a8822f3a39bf9a
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