com.hazelcast.query
Class Index

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

public class Index
extends Object


Method Summary
 void appendState(StringBuffer sbState)
           
 boolean equals(Object o)
           
 Long extractLongValue(Object value)
           
 int getAttributeIndex()
           
 Expression getExpression()
           
 byte getIndexType()
           
static byte getIndexType(Class klass)
           
 Set<MapEntry> getRecords(Long value)
           
 Set<MapEntry> getRecords(Set<Long> uniqueValues)
           
 Set<MapEntry> getSubRecords(boolean equal, boolean lessThan, Long searchedValue)
           
 Set<MapEntry> getSubRecordsBetween(Long from, Long to)
           
 int hashCode()
           
 void index(Long newValue, Record record)
           
 boolean isOrdered()
           
 boolean isStrong()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

index

public void index(Long newValue,
                  Record record)

extractLongValue

public Long extractLongValue(Object value)

appendState

public void appendState(StringBuffer sbState)

getRecords

public Set<MapEntry> getRecords(Set<Long> uniqueValues)

getRecords

public Set<MapEntry> getRecords(Long value)

getSubRecordsBetween

public Set<MapEntry> getSubRecordsBetween(Long from,
                                          Long to)

getSubRecords

public Set<MapEntry> getSubRecords(boolean equal,
                                   boolean lessThan,
                                   Long searchedValue)

getIndexType

public byte getIndexType()

getIndexType

public static byte getIndexType(Class klass)

getAttributeIndex

public int getAttributeIndex()

getExpression

public Expression getExpression()

isOrdered

public boolean isOrdered()

isStrong

public boolean isStrong()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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