
io.github.repir.Strategy.Collector.CollectorAnalyzer Maven / Gradle / Ivy
The newest version!
package io.github.repir.Strategy.Collector;
import io.github.repir.Retriever.Document;
import io.github.repir.Strategy.Strategy;
import io.github.repir.tools.io.struct.StructuredFileKeyValueRecord;
import io.github.repir.tools.lib.Log;
/**
* An abstract for {@link Collector}s that are not used by {@link RetrievalModel}s
* but rather by custom designed {@link Strategy}s, therefore not necessarily retrieving
* {@link Document}s. This Class assumes the collected results will be cached
* in a {@link StoredDynamicFeature}, and must specify the Record structure used to
* write the data as a generic parameter and implement {@link #getStoredDynamicFeature()}
* to provide the feature used.
* @author jer
* @param
*/
public abstract class CollectorAnalyzer extends CollectorCachable {
public static Log log = new Log(CollectorAnalyzer.class);
public CollectorAnalyzer( ) {
}
public CollectorAnalyzer (Strategy rm) {
super( rm );
}
@Override
public final boolean reduceInQuery() {
return false;
}
@Override
public final void setCollectedResults() {
}
@Override
public final void prepareRetrieval() {
}
@Override
protected final void collectDocument(Document doc) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
@Override
public final void decode() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy