本文整理匯總了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);
}