org.tinygroup.fulltext.impl
类 CollectionDocumentCreator

java.lang.Object
  继承者 org.tinygroup.fulltext.impl.CollectionDocumentCreator
所有已实现的接口:
DocumentListCreator<Collection<Document>>

public class CollectionDocumentCreator
extends Object
implements DocumentListCreator<Collection<Document>>

支持集合类型的对象操作

作者:
yancheng11334

构造方法摘要
CollectionDocumentCreator()
           
 
方法摘要
 List<Document> getDocument(String type, Collection<Document> data, Object... arguments)
          将数据转换成索引文档列表
 boolean isMatch(Collection<Document> data)
          判断本批量文档生成器能否处理此数据
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CollectionDocumentCreator

public CollectionDocumentCreator()
方法详细信息

isMatch

public boolean isMatch(Collection<Document> data)
从接口 DocumentListCreator 复制的描述
判断本批量文档生成器能否处理此数据

指定者:
接口 DocumentListCreator<Collection<Document>> 中的 isMatch
返回:

getDocument

public List<Document> getDocument(String type,
                                  Collection<Document> data,
                                  Object... arguments)
从接口 DocumentListCreator 复制的描述
将数据转换成索引文档列表

指定者:
接口 DocumentListCreator<Collection<Document>> 中的 getDocument
返回:


Copyright © 2006–2016 TinyGroup. All rights reserved.