com.hazelcast.query.impl
Class IndexService

java.lang.Object
  extended by com.hazelcast.query.impl.IndexService

public class IndexService
extends Object

This class contains methods which manipulate and access index.


Constructor Summary
IndexService()
           
 
Method Summary
 Index addOrGetIndex(String attribute, boolean ordered)
           
 Index destroyIndex(String attribute)
           
 Index[] getIndexes()
           
 boolean hasIndex()
           
 Set<QueryableEntry> query(Predicate predicate)
           
 void removeEntryIndex(Data indexKey)
           
 void saveEntryIndex(QueryableEntry queryableEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexService

public IndexService()
Method Detail

destroyIndex

public Index destroyIndex(String attribute)

addOrGetIndex

public Index addOrGetIndex(String attribute,
                           boolean ordered)

getIndexes

public Index[] getIndexes()

removeEntryIndex

public void removeEntryIndex(Data indexKey)
                      throws QueryException
Throws:
QueryException

hasIndex

public boolean hasIndex()

saveEntryIndex

public void saveEntryIndex(QueryableEntry queryableEntry)
                    throws QueryException
Throws:
QueryException

query

public Set<QueryableEntry> query(Predicate predicate)


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.