本文整理了Java中proj.zoie.api.ZoieSegmentReader.getDecoratedReader()
方法的一些代码示例,展示了ZoieSegmentReader.getDecoratedReader()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoieSegmentReader.getDecoratedReader()
方法的具体详情如下:
包路径:proj.zoie.api.ZoieSegmentReader
类名称:ZoieSegmentReader
方法名:getDecoratedReader
暂无
代码示例来源:origin: senseidb/zoie
private void init() throws IOException {
for (ZoieSegmentReader<R> subReader : _subZoieReaders) {
String segmentName = subReader.getSegmentName();
_readerMap.put(segmentName, subReader);
}
ArrayList<R> decoratedList = new ArrayList<R>(_subZoieReaders.size());
for (ZoieSegmentReader<R> subReader : _subZoieReaders) {
R decoratedReader = subReader.getDecoratedReader();
decoratedList.add(decoratedReader);
}
_decoratedReaders = decoratedList;
}
代码示例来源:origin: com.senseidb.zoie/zoie-core
private void init() throws IOException {
for (ZoieSegmentReader<R> subReader : _subZoieReaders) {
String segmentName = subReader.getSegmentName();
_readerMap.put(segmentName, subReader);
}
ArrayList<R> decoratedList = new ArrayList<R>(_subZoieReaders.size());
for (ZoieSegmentReader<R> subReader : _subZoieReaders) {
R decoratedReader = subReader.getDecoratedReader();
decoratedList.add(decoratedReader);
}
_decoratedReaders = decoratedList;
}
代码示例来源:origin: com.senseidb/sensei-core
@SuppressWarnings("unchecked")
@Override
public DocIdSet getDocIdSet(AtomicReaderContext context, Bits acceptDocs) throws IOException {
if (context.reader() instanceof ZoieSegmentReader) {
ZoieSegmentReader<BoboSegmentReader> zoieReader = (ZoieSegmentReader<BoboSegmentReader>) context
.reader();
List<DocIdSet> docIdSetList = new ArrayList<DocIdSet>(1);
docIdSetList.add(buildFilterSet(zoieReader.getDecoratedReader()));
return new OrDocIdSet(docIdSetList);
} else {
throw new IllegalStateException("reader not instance of " + ZoieSegmentReader.class);
}
}
}
代码示例来源:origin: com.linkedin.zoie/zoie-core
R decoratedReader = subReader.getDecoratedReader();
decoratedList.add(decoratedReader);
代码示例来源:origin: com.senseidb/sensei-core
return;
BoboSegmentReader decoratedReader = zoieSegmentReader.getDecoratedReader();
for (String facet : facets) {
Object facetData = decoratedReader.getFacetData(facet);
内容来源于网络,如有侵权,请联系作者删除!