NXCALS-4712 Extend variable and entity stage to accept id
requested to merge feature-NXCALS-4712-extend-variable-stage-to-accept-id into feature-NXCALS-4712-merge-branch
idEq(long)
and idIn(Set<Long>)
in builders v2
Change: Introduce methods 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