當前位置: 首頁>>代碼示例>>Java>>正文


Java ReaderSource類代碼示例

本文整理匯總了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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:ZipfCount.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:AdditionalDocumentText.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:NumberedLink.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:NumberedDocumentData.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:DocumentFeature.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:WordProbability.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:WordOffset.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:DocumentData.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:ExtractedLink.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:DocumentNumberWordInteger.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:NumberWordPosition.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:DocumentValuedExtent.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:NumberWordProbability.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:IdentifiedLink.java

示例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);
}
 
開發者ID:youngilcho,項目名稱:internet-application-2014,代碼行數:10,代碼來源:WordCount.java


注:本文中的org.galagosearch.tupleflow.ReaderSource類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。