sg.edu.nus.peer.info
Class TupleIndexInfo

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

public class TupleIndexInfo
extends java.lang.Object

the class of tuple-level index

Author:
Wu Sai

Constructor Summary
TupleIndexInfo(java.lang.String serializedData)
           
TupleIndexInfo(java.lang.String relation, java.lang.String attribute, int idx, int type, java.lang.String[] data)
           
 
Method Summary
 java.lang.String[] getData()
           
 int getIdx()
           
 int getType()
           
 boolean isSatisfied(java.lang.String relname, java.lang.String attname)
           
 java.lang.String serialize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleIndexInfo

public TupleIndexInfo(java.lang.String relation,
                      java.lang.String attribute,
                      int idx,
                      int type,
                      java.lang.String[] data)

TupleIndexInfo

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

isSatisfied

public boolean isSatisfied(java.lang.String relname,
                           java.lang.String attname)

getIdx

public int getIdx()

getType

public int getType()

getData

public java.lang.String[] getData()

serialize

public java.lang.String serialize()