Skip to content

NXCALS-4712 Extend variable and entity stage to accept id

Change: Introduce methods idEq(long) and idIn(Set<Long>) in builders v2

How it will looks like:

DataQuery.builder(spark).entities().system("CMW").idEq(entity.getId()).timeWindow(timeWindow).build()

Or

DataQuery.builder(spark).variables().system("CMW").idIn(1L, 2L).timeWindow(timeWindow).build()

Or

DataQuery.builder(spark).variables().system("CMW").idIn(Set.of(1L, 2L)).timeWindow(timeWindow).build()

@acc-logging-team - please have a look for approval.

Please describe the merge request here.

Closes NXCALS-4712

Edited by Rafal Mucha

Merge request reports