public class ResultSetDocumentListCreator extends AbstractResultSetOperator implements DocumentListCreator<ResultSet>
Constructor and Description |
---|
ResultSetDocumentListCreator() |
Modifier and Type | Method and Description |
---|---|
List<Document> |
getDocument(String type,
ResultSet data,
Object... arguments)
将数据转换成索引文档列表
|
TemplateIndexRender |
getTemplateIndexRender() |
boolean |
isMatch(ResultSet data)
判断本批量文档生成器能否处理此数据
|
void |
setTemplateIndexRender(TemplateIndexRender templateIndexRender) |
updateContext
public TemplateIndexRender getTemplateIndexRender()
public void setTemplateIndexRender(TemplateIndexRender templateIndexRender)
public boolean isMatch(ResultSet data)
DocumentListCreator
isMatch
in interface DocumentListCreator<ResultSet>
public List<Document> getDocument(String type, ResultSet data, Object... arguments)
DocumentListCreator
getDocument
in interface DocumentListCreator<ResultSet>
Copyright © 2006–2018 TinyGroup. All rights reserved.