Unsolved
This post is more than 5 years old
14 Posts
0
1630
December 21st, 2017 03:00
Using JCASscript to return the number of CLIPs in a CAS Pool / ECS Bucket
Hi all,
Is there a way to get JCASScript to just return the number of CLIPs in a pool/bucket rather than just listing them all with 'query' or 'querytofile'?
Clearly it's not an issue with up to a few thousand clips because you could do something like:
poolopen <.....:>
querytofile /tmp/myfile
poolclose
quit
then,
wc -l /tmp/myfile
However, if a pool contains millions or tens-of-millions or hundreds-of-millions of CLIPs then this approach becomes increasingly unrealistic.
Additionally, I'm interested to know if pool capacities can be obtained, either directly or indirectly, maybe e.g. #CLIPs x sizeof(a single clip) )
Thanks in advance.
Nick
No Events found!