Hello Everyone, Is there any java library for building Streaming Expressions? Currently, I am using solr's java client and building Streaming Expressions as follows.
StreamFactory factory = new StreamFactory().withCollectionZkHost( collName, zkHost ) .withFunctionName("gatherNodes", GatherNodesStream.class) .withFunctionName("search", CloudSolrStream.class) .withFunctionName("count", CountMetric.class) .withFunctionName("having", HavingStream.class) .withFunctionName("gt", GreaterThanOperation.class) .withFunctionName("eq", EqualsOperation.class); HavingStream cs = (HavingStream) factory.constructStream( <streaming_expression_str> ); In this approach, I still have to build streaming_expression_str in code. Is there any better approach for this or is there any java library to do this? My search for it didn't yield anything so I was wondering if anyone here has an idea. Thanks, Pratik