本文整理匯總了Java中org.apache.lucene.store.IndexInput.clone方法的典型用法代碼示例。如果您正苦於以下問題:Java IndexInput.clone方法的具體用法?Java IndexInput.clone怎麽用?Java IndexInput.clone使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.apache.lucene.store.IndexInput
的用法示例。
在下文中一共展示了IndexInput.clone方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: SegmentTermDocs
import org.apache.lucene.store.IndexInput; //導入方法依賴的package包/類
public SegmentTermDocs(IndexInput freqStream, TermInfosReader tis, FieldInfos fieldInfos) {
this.freqStream = freqStream.clone();
this.tis = tis;
this.fieldInfos = fieldInfos;
skipInterval = tis.getSkipInterval();
maxSkipLevels = tis.getMaxSkipLevels();
}
示例2: SegmentDocsEnumBase
import org.apache.lucene.store.IndexInput; //導入方法依賴的package包/類
SegmentDocsEnumBase(IndexInput startFreqIn, Bits liveDocs) {
this.startFreqIn = startFreqIn;
this.freqIn = startFreqIn.clone();
this.liveDocs = liveDocs;
}
示例3: SegmentDocsAndPositionsEnum
import org.apache.lucene.store.IndexInput; //導入方法依賴的package包/類
public SegmentDocsAndPositionsEnum(IndexInput freqIn, IndexInput proxIn) {
startFreqIn = freqIn;
this.freqIn = freqIn.clone();
this.proxIn = proxIn.clone();
}
示例4: SegmentFullPositionsEnum
import org.apache.lucene.store.IndexInput; //導入方法依賴的package包/類
public SegmentFullPositionsEnum(IndexInput freqIn, IndexInput proxIn) {
startFreqIn = freqIn;
this.freqIn = freqIn.clone();
this.proxIn = proxIn.clone();
}