How can I get an Esper windowed output and use it as input in another project?

105 views Asked by At

I already have a functional Esper code that prints in the screen like this:

    @Override
    public void update(EventBean[] newData, EventBean[] oldData) {
        System.out.println(newData[0].getUnderlying());
        }

NewData[0].getUderlying() already prints exactly how I need.

How can I get this newData[0]? I only could print newData[0] in the screen, but I couldn't be able to print this newData[0] (in the same format) in a text file or pass directly to my destination algorithm, which will have the output from Esper as its input.

Thanks.

0

There are 0 answers