com.hazelcast.query
Class Index

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

public class Index
extends java.lang.Object


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

Method Detail

index

public void index(java.lang.Long newValue,
                  Record record)

extractLongValue

public java.lang.Long extractLongValue(java.lang.Object value)

appendState

public void appendState(java.lang.StringBuffer sbState)

getRecords

public java.util.Set<MapEntry> getRecords(java.util.Set<java.lang.Long> uniqueValues)

getRecords

public java.util.Set<MapEntry> getRecords(java.lang.Long value)

getSubRecordsBetween

public java.util.Set<MapEntry> getSubRecordsBetween(java.lang.Long from,
                                                    java.lang.Long to)

getSubRecords

public java.util.Set<MapEntry> getSubRecords(boolean equal,
                                             boolean lessThan,
                                             java.lang.Long searchedValue)

getIndexType

public byte getIndexType()

getIndexType

public byte getIndexType(java.lang.Class klass)

getAttributeIndex

public int getAttributeIndex()

getExpression

public Expression getExpression()

isOrdered

public boolean isOrdered()

isStrong

public boolean isStrong()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright .9.4.5; 2008-2011 Hazel Ltd. All Rights Reserved.