com.hazelcast.query
Class MapIndexService

java.lang.Object
  extended by com.hazelcast.query.MapIndexService

public class MapIndexService
extends Object


Constructor Summary
MapIndexService(boolean valueIndexed)
           
 
Method Summary
 Index addIndex(Expression expression, boolean ordered, int attributeIndex)
           
 void appendState(StringBuffer sbState)
           
 void clear()
           
 Set<MapEntry> doQuery(QueryContext queryContext)
           
 Map<Expression,Index> getIndexes()
           
 Index[] getIndexesInOrder()
           
 byte[] getIndexTypes()
           
 Long[] getIndexValues(Object value)
           
 Collection<Record> getOwnedRecords()
           
 Index getValueIndex()
           
 boolean hasIndexedAttributes()
           
 void index(Record record)
           
 void remove(Record record)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapIndexService

public MapIndexService(boolean valueIndexed)
Method Detail

remove

public void remove(Record record)

index

public void index(Record record)

getOwnedRecords

public Collection<Record> getOwnedRecords()

getIndexValues

public Long[] getIndexValues(Object value)

getIndexTypes

public byte[] getIndexTypes()

addIndex

public Index addIndex(Expression expression,
                      boolean ordered,
                      int attributeIndex)

doQuery

public Set<MapEntry> doQuery(QueryContext queryContext)

getIndexes

public Map<Expression,Index> getIndexes()

hasIndexedAttributes

public boolean hasIndexedAttributes()

getValueIndex

public Index getValueIndex()

getIndexesInOrder

public Index[] getIndexesInOrder()

appendState

public void appendState(StringBuffer sbState)

clear

public void clear()

size

public int size()


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.