sg.edu.nus.peer.info
Class RangeIndexInfo

java.lang.Object
  extended by sg.edu.nus.peer.info.RangeIndexInfo

public class RangeIndexInfo
extends java.lang.Object

indexing range entry

Author:
Wu Sai

Constructor Summary
RangeIndexInfo(java.lang.String serializedData)
           
RangeIndexInfo(java.lang.String relation, java.lang.String attribute, int type, java.lang.String min, java.lang.String max, java.util.ArrayList<PhysicalInfo> ips)
           
 
Method Summary
 void deleteOwner(PhysicalInfo ip)
           
 java.lang.String getMaxValue()
           
 java.lang.String getMinValue()
           
 java.util.ArrayList<PhysicalInfo> getOwners()
           
 int getType()
           
 void insertNewOwner(PhysicalInfo ip)
           
 boolean isSatisfied(java.lang.String relation, java.lang.String attribute)
           
 java.lang.String serialize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeIndexInfo

public RangeIndexInfo(java.lang.String relation,
                      java.lang.String attribute,
                      int type,
                      java.lang.String min,
                      java.lang.String max,
                      java.util.ArrayList<PhysicalInfo> ips)

RangeIndexInfo

public RangeIndexInfo(java.lang.String serializedData)
Method Detail

getType

public int getType()

getMinValue

public java.lang.String getMinValue()

getMaxValue

public java.lang.String getMaxValue()

getOwners

public java.util.ArrayList<PhysicalInfo> getOwners()

insertNewOwner

public void insertNewOwner(PhysicalInfo ip)

deleteOwner

public void deleteOwner(PhysicalInfo ip)

isSatisfied

public boolean isSatisfied(java.lang.String relation,
                           java.lang.String attribute)

serialize

public java.lang.String serialize()