It's all about the answers!

Ask a question

RTC Java API - Find Streams by Date of Delivery

Joao Bordignon (382) | asked Oct 07 '19, 8:04 a.m.
I'm trying to list all the streams with deliveries after a timestamp.

There is a method that seems promising:
iWorkspaceManager.findStreamsQuery(IGenericQueryNode, maxResults, iProgressMonitor)

The problem is that I cannot find a way to create this query.

I tried various permutations of this code:
IGenericQueryNode query = IGenericQueryNode.FACTORY.newInstance(QueryOperations.OPERATION_BASELINE_MODIFIEDIN_DATERANGE_FILTER);
query.addChild(new Timestamp(2019, 10, 5, 0, 0, 0, 0));
query.addChild(new Timestamp(System.currentTimeMillis()));

But nothing works.

Do anybody knows how to find the streams by date?


Be the first one to answer this question!

Register or to post your answer.