com.hazelcast.query.impl
Class UnsortedIndexStore

java.lang.Object
  extended by com.hazelcast.query.impl.BaseIndexStore
      extended by com.hazelcast.query.impl.UnsortedIndexStore
All Implemented Interfaces:
IndexStore

public class UnsortedIndexStore
extends BaseIndexStore

Store indexes out of turn.


Field Summary
 
Fields inherited from class com.hazelcast.query.impl.BaseIndexStore
LOAD_FACTOR, lock, readLock, writeLock
 
Constructor Summary
UnsortedIndexStore()
           
 
Method Summary
 void clear()
           
 ConcurrentMap<Data,QueryableEntry> getRecordMap(Comparable value)
           
 Set<QueryableEntry> getRecords(Comparable value)
           
 void getRecords(MultiResultSet results, Set<Comparable> values)
           
 void getSubRecords(MultiResultSet results, ComparisonType comparisonType, Comparable searchedValue)
           
 void getSubRecordsBetween(MultiResultSet results, Comparable from, Comparable to)
           
 void newIndex(Comparable newValue, QueryableEntry record)
           
 void removeIndex(Comparable oldValue, Data indexKey)
           
 String toString()
           
 void updateIndex(Comparable oldValue, Comparable newValue, QueryableEntry entry)
           
 
Methods inherited from class com.hazelcast.query.impl.BaseIndexStore
releaseReadLock, releaseWriteLock, takeReadLock, takeWriteLock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsortedIndexStore

public UnsortedIndexStore()
Method Detail

newIndex

public void newIndex(Comparable newValue,
                     QueryableEntry record)

updateIndex

public void updateIndex(Comparable oldValue,
                        Comparable newValue,
                        QueryableEntry entry)

removeIndex

public void removeIndex(Comparable oldValue,
                        Data indexKey)

clear

public void clear()

getSubRecordsBetween

public void getSubRecordsBetween(MultiResultSet results,
                                 Comparable from,
                                 Comparable to)

getSubRecords

public void getSubRecords(MultiResultSet results,
                          ComparisonType comparisonType,
                          Comparable searchedValue)

getRecordMap

public ConcurrentMap<Data,QueryableEntry> getRecordMap(Comparable value)

getRecords

public Set<QueryableEntry> getRecords(Comparable value)

getRecords

public void getRecords(MultiResultSet results,
                       Set<Comparable> values)

toString

public String toString()
Overrides:
toString in class Object


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