org.terracotta.toolkit.search
Interface SearchableMap<K,V>

All Known Subinterfaces:
ToolkitCache<K,V>, ToolkitStore<K,V>

public interface SearchableMap<K,V>


Method Summary
 QueryBuilder createQueryBuilder()
          Create a new query builder to construct a search query tied to this map
 void setAttributeExtractor(ToolkitAttributeExtractor<K,V> attrExtractor)
          Set indexed attribute extractor.
 

Method Detail

setAttributeExtractor

void setAttributeExtractor(ToolkitAttributeExtractor<K,V> attrExtractor)
Set indexed attribute extractor. This map is considered searchable if this method has been called at least once.


createQueryBuilder

QueryBuilder createQueryBuilder()
Create a new query builder to construct a search query tied to this map



Copyright © 2014 Terracotta, Inc.. All Rights Reserved.