本文整理匯總了Java中org.lemurproject.galago.tupleflow.Processor類的典型用法代碼示例。如果您正苦於以下問題:Java Processor類的具體用法?Java Processor怎麽用?Java Processor使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Processor類屬於org.lemurproject.galago.tupleflow包,在下文中一共展示了Processor類的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: createIndexWriter
import org.lemurproject.galago.tupleflow.Processor; //導入依賴的package包/類
@Override
public Processor<DocumentNameId> createIndexWriter(TupleFlowParameters parameters) throws Exception {
return new DiskNameWriter(parameters);
}
示例2: createIndexWriter
import org.lemurproject.galago.tupleflow.Processor; //導入依賴的package包/類
@Override
public Processor<NumberedExtent> createIndexWriter(TupleFlowParameters parameters) throws Exception {
WindowIndexWriter w = new WindowIndexWriter(parameters);
return new NumberedExtent.ExtentNameNumberBeginOrder.TupleShredder(w);
}
示例3: createIndexWriter
import org.lemurproject.galago.tupleflow.Processor; //導入依賴的package包/類
@Override
public Processor<NumberWordPosition> createIndexWriter(TupleFlowParameters parameters) throws Exception {
PositionIndexWriter w = new PositionIndexWriter(parameters);
return new NumberWordPosition.WordDocumentPositionOrder.TupleShredder(w);
}
示例4: createIndexWriter
import org.lemurproject.galago.tupleflow.Processor; //導入依賴的package包/類
@Override
public Processor<DocumentNameId> createIndexWriter(TupleFlowParameters parameters) throws Exception {
return new DiskNameReverseWriter(parameters);
}
示例5: createIndexWriter
import org.lemurproject.galago.tupleflow.Processor; //導入依賴的package包/類
@Override
public Processor<FieldLengthData> createIndexWriter(TupleFlowParameters parameters) throws IOException {
return new DiskLengthsWriter(parameters);
}
示例6: createIndexWriter
import org.lemurproject.galago.tupleflow.Processor; //導入依賴的package包/類
@Override
public Processor<Document> createIndexWriter(TupleFlowParameters parameters) throws Exception {
return new CorpusFileWriter(parameters);
}
示例7: createIndexWriter
import org.lemurproject.galago.tupleflow.Processor; //導入依賴的package包/類
public abstract Processor<T> createIndexWriter(TupleFlowParameters parameters) throws Exception;