本文整理汇总了Java中org.galagosearch.tupleflow.ReaderSource类的典型用法代码示例。如果您正苦于以下问题:Java ReaderSource类的具体用法?Java ReaderSource怎么用?Java ReaderSource使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ReaderSource类属于org.galagosearch.tupleflow包,在下文中一共展示了ReaderSource类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<ZipfCount> orderedCombiner(Collection<TypeReader<ZipfCount>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<ZipfCount> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例2: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<AdditionalDocumentText> orderedCombiner(Collection<TypeReader<AdditionalDocumentText>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<AdditionalDocumentText> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例3: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<NumberedLink> orderedCombiner(Collection<TypeReader<NumberedLink>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<NumberedLink> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例4: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<NumberedDocumentData> orderedCombiner(Collection<TypeReader<NumberedDocumentData>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<NumberedDocumentData> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例5: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<DocumentFeature> orderedCombiner(Collection<TypeReader<DocumentFeature>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<DocumentFeature> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例6: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<WordProbability> orderedCombiner(Collection<TypeReader<WordProbability>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<WordProbability> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例7: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<WordOffset> orderedCombiner(Collection<TypeReader<WordOffset>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<WordOffset> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例8: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<DocumentData> orderedCombiner(Collection<TypeReader<DocumentData>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<DocumentData> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例9: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<ExtractedLink> orderedCombiner(Collection<TypeReader<ExtractedLink>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<ExtractedLink> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例10: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<DocumentNumberWordInteger> orderedCombiner(Collection<TypeReader<DocumentNumberWordInteger>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<DocumentNumberWordInteger> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例11: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<NumberWordPosition> orderedCombiner(Collection<TypeReader<NumberWordPosition>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<NumberWordPosition> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例12: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<DocumentValuedExtent> orderedCombiner(Collection<TypeReader<DocumentValuedExtent>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<DocumentValuedExtent> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例13: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<NumberWordProbability> orderedCombiner(Collection<TypeReader<NumberWordProbability>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<NumberWordProbability> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例14: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<IdentifiedLink> orderedCombiner(Collection<TypeReader<IdentifiedLink>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<IdentifiedLink> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}
示例15: orderedCombiner
import org.galagosearch.tupleflow.ReaderSource; //导入依赖的package包/类
public ReaderSource<WordCount> orderedCombiner(Collection<TypeReader<WordCount>> readers, boolean closeOnExit) {
ArrayList<ShreddedReader> shreddedReaders = new ArrayList();
for (TypeReader<WordCount> reader : readers) {
shreddedReaders.add((ShreddedReader)reader);
}
return new ShreddedCombiner(shreddedReaders, closeOnExit);
}