org.tinygroup.fulltext.impl
类 AbstractFullText

java.lang.Object
  继承者 org.tinygroup.fulltext.impl.AbstractFullText
所有已实现的接口:
FullText

public abstract class AbstractFullText
extends Object
implements FullText


字段摘要
 
从接口 org.tinygroup.fulltext.FullText 继承的字段
FULLTEXT_BEAN_NAME
 
构造方法摘要
AbstractFullText()
           
 
方法摘要
protected
<T> void
checkData(T data)
          检查索引数据
protected  void checkType(String type)
          检查类型
<T> void
createIndex(String type, T data, Object... arguments)
          创建索引
<T> void
deleteIndex(String type, T data, Object... arguments)
          删除索引
 List<DocumentListCreator> getDocumentListCreators()
           
 IndexOperator getIndexOperator()
           
protected
<T> boolean
matchData(DocumentListCreator creator, T data)
           
 Pager<Document> search(String searchCondition)
          查询索引
 Pager<Document> search(String searchCondition, int start, int limit)
          查询带分页的索引
 void setDocumentListCreators(List<DocumentListCreator> documentListCreators)
           
 void setIndexOperator(IndexOperator indexOperator)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AbstractFullText

public AbstractFullText()
方法详细信息

getDocumentListCreators

public List<DocumentListCreator> getDocumentListCreators()

setDocumentListCreators

public void setDocumentListCreators(List<DocumentListCreator> documentListCreators)

getIndexOperator

public IndexOperator getIndexOperator()

setIndexOperator

public void setIndexOperator(IndexOperator indexOperator)

checkType

protected void checkType(String type)
检查类型

参数:
type -

checkData

protected <T> void checkData(T data)
检查索引数据

参数:
data -

matchData

protected <T> boolean matchData(DocumentListCreator creator,
                                T data)

createIndex

public <T> void createIndex(String type,
                            T data,
                            Object... arguments)
从接口 FullText 复制的描述
创建索引

指定者:
接口 FullText 中的 createIndex
参数:
type - 索引项:相当于分类,便于查询

deleteIndex

public <T> void deleteIndex(String type,
                            T data,
                            Object... arguments)
从接口 FullText 复制的描述
删除索引

指定者:
接口 FullText 中的 deleteIndex
参数:
type - 索引项:相当于分类,便于查询

search

public Pager<Document> search(String searchCondition)
从接口 FullText 复制的描述
查询索引

指定者:
接口 FullText 中的 search
返回:

search

public Pager<Document> search(String searchCondition,
                              int start,
                              int limit)
从接口 FullText 复制的描述
查询带分页的索引

指定者:
接口 FullText 中的 search
返回:


Copyright © 2006–2016 TinyGroup. All rights reserved.