thinkmap.server.search
Class SearchWrapper
java.lang.Object
thinkmap.server.search.SearchWrapper
- All Implemented Interfaces:
- IDataSource, Searchable
public class SearchWrapper
- extends Object
- implements IDataSource, Searchable
StatisticsWrapper collects information about a datasource as it runs.
- Version:
- $Revision: 1.1.2.2 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchWrapper
public SearchWrapper(IDataSource ids,
DataSourceIndex index)
getFields
public Set<FieldDef<?>> getFields(String name)
- Specified by:
getFields in interface Searchable
createRequest
public IEntityHandler createRequest(IEntityHandler callback)
- Description copied from interface:
IDataSource
- Create a request. The server and client's IEntityHandlers are linked.
- Specified by:
createRequest in interface IDataSource
- Parameters:
callback - The IEntityHandler that will recieve the response.
- Returns:
- The IEntityHandler for sending a request.
indexExists
public boolean indexExists()
isMetadataFresh
public boolean isMetadataFresh()
reopen
public void reopen()
throws IOException
- Throws:
IOException
constructBuilder
protected QueryBuilder constructBuilder()
getMetadata
public IndexMetadata getMetadata()
Copyright © 2013 Thinkmap, Inc. All Rights Reserved.