Sun Dec 16, 2018 10:46 pm
Login Register Lost Password? Contact Us


SuperFiles

Questions around writing code and queries

Wed Jun 29, 2011 3:30 pm Change Time Zone

SuperFiles seem to be an interesting concept and are supported by ECL. To gain a better understanding, does someone have a practical example of when these should be used?
champirs
 
Posts: 5
Joined: Fri May 13, 2011 8:10 pm

Wed Jun 29, 2011 3:44 pm Change Time Zone

One simple example:

I have an ECL file called 'weblogs' that I want to process all of the weblogs I have ever recieved. I upload all the logs I have so far in a logical file and create a superfile that 'points to' that logical file.

Now in my code I use the superfile - it all works using my uploaded weblogs. Then tomorrow we have some more weblogs - operations uploads the days worth of weblogs to a new logical file - updates the superfile to point to the original file AND the daily file.

My code still executes as before with no changes. Note - if I had used PERSIST technology then any persists that needed to would rebuild.
dabayliss
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 109
Joined: Fri Apr 29, 2011 1:35 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron