org.yamcs.archive.TmIndexService Maven / Gradle / Ivy
package org.yamcs.archive;
import java.util.List;
import org.yamcs.yarch.StreamSubscriber;
import org.yamcs.YamcsService;
import org.yamcs.protobuf.Yamcs.NamedObjectId;
/**
* Interface for (completeness) TmIndex.
* All the implementing classes have to provide a constructor(String archiveInstance, boolean readonly)
*
* @author nm
*
*/
public interface TmIndexService extends StreamSubscriber, YamcsService {
public abstract void deleteRecords(long start, long stop);
/**
* return an iterator that provides all the index entries between start and stop
*
* @param names can be used to filter which entries are returned. If null, everything is returned.
* @param start
* @param stop
* @return
*/
public abstract IndexIterator getIterator(List names, long start, long stop);
}