本文整理汇总了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;