All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.archive.TmIndexService Maven / Gradle / Ivy

There is a newer version: 5.10.9
Show newest version
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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy