incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Morel <>
Subject Re: exception when using AbstractSlidingWindowPE
Date Mon, 03 Sep 2012 07:11:17 GMT
Hi Aimee,

you should use the createSlidingWindowPE method from the App class. It 
takes a "SlotFactory" used for providing "Slot" implementations to the 
window. A provided implementation is the 
"DefaultAggregatingSlotFactory", but you can define your own way to 
provide and implement a Slot.

Apart from a small usage example in the regression tests, there is not 
much documentation for this feature yet. And we'll probably need extend 
the API to support more window types. Any feedback or contribution is 

Hope this helps,


On 9/3/12 3:46 AM, Sujun Cheng wrote:
> Hello,
> I would like to write a PE extends AbstractSlidingWindowPE, but it seems
> cannot work.
> The exception is as follow:
> java.lang.NoSuchMethodException: matrix.BasePE.<init>()
>      at java.lang.Class.getConstructor0( ~[na:1.6.0_33]
>      at java.lang.Class.getDeclaredConstructor(
> ~[na:1.6.0_33]
> BasePE is extends from AbstractSlidingWindowPE. I saw that
> AbstractSlidingWindow only has two constructors with args, so when use
> createPE() method it can not be created. Did I use it in a wrong way?
> Thanks
> -Aimee

View raw message