Create a SpaceSaver with a given count

5 views
Skip to first unread message

Hagai Attias

unread,
Apr 17, 2016, 7:08:23 AM4/17/16
to cascading-user

Hi guys, 

For any of you with experience using SpaceSaver for tops calculation, is there a way to construct  an SS object with a given counter of elements? Something like SpacerSaver(“Hagai”,3) or alternatively add to an existing instance: ss.add(“Hagai”,3) ?

In my case - I already know the count of the elements at a given point, but I want to hold it in SS construct so that it will be easier to add / query it later.


Thanks,

Hagai.

Koert Kuipers

unread,
Apr 17, 2016, 7:11:23 PM4/17/16
to cascadi...@googlegroups.com
this is currently not exposed, but it would be easy to do so if there was a compelling reason

--
You received this message because you are subscribed to the Google Groups "cascading-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cascading-use...@googlegroups.com.
To post to this group, send email to cascadi...@googlegroups.com.
Visit this group at https://groups.google.com/group/cascading-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/cascading-user/4bb65eb7-5b19-4ec5-a806-da22b720106a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages