edu.umass.cs.sase.query
Class ValueVectorTemplate

java.lang.Object
  extended by edu.umass.cs.sase.query.ValueVectorTemplate

public class ValueVectorTemplate
extends java.lang.Object

This class represents a value vector template, which is extracted from a query while the compiling is being done.

Author:
haopeng

Constructor Summary
ValueVectorTemplate(int s, java.lang.String a, java.lang.String o, int n)
           
 
Method Summary
 java.lang.String getAttribute()
           
 int getNeededByState()
           
 java.lang.String getOperation()
           
 int getState()
           
 void setAttribute(java.lang.String attribute)
           
 void setNeededByState(int neededByState)
           
 void setOperation(java.lang.String operation)
           
 void setState(int state)
           
 java.lang.String toString()
          Self description
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueVectorTemplate

public ValueVectorTemplate(int s,
                           java.lang.String a,
                           java.lang.String o,
                           int n)
Method Detail

toString

public java.lang.String toString()
Self description

Overrides:
toString in class java.lang.Object

getState

public int getState()
Returns:
the state

setState

public void setState(int state)
Parameters:
state - the state to set

getAttribute

public java.lang.String getAttribute()
Returns:
the attribute

setAttribute

public void setAttribute(java.lang.String attribute)
Parameters:
attribute - the attribute to set

getOperation

public java.lang.String getOperation()
Returns:
the operation

setOperation

public void setOperation(java.lang.String operation)
Parameters:
operation - the operation to set

getNeededByState

public int getNeededByState()
Returns:
the neededByState

setNeededByState

public void setNeededByState(int neededByState)
Parameters:
neededByState - the neededByState to set