Compare file indices
tf = currentFileIndexComparator(ds,ind)
tf = currentFileIndexComparator(
compares the write index
ind to the read index of the current file being
read by the datastore. The result is a logical
when the indices are the same, and a logical
otherwise. This provides an indication of the number of reads per file.
If your custom datastore subclasses from
then it inherits a
currentFileIndexComparator method that always returns
false. If the datastore primarily works with files that require multiple
reads per file, then you must implement your own
currentFileIndexComparator methods in the subclass. These methods tell the
datastore which file is being read, and whether the file requires multiple reads.
To learn about attributes of methods, see Method Attributes.