org.eigenbase.rel
Class CorrelatorRel.Correlation

java.lang.Object
  extended by org.eigenbase.rel.CorrelatorRel.Correlation
All Implemented Interfaces:
Cloneable, Comparable<CorrelatorRel.Correlation>
Enclosing class:
CorrelatorRel

public static class CorrelatorRel.Correlation
extends Object
implements Cloneable, Comparable<CorrelatorRel.Correlation>

Describes the neccessary parameters for an implementation in order to identify and set dynamic variables


Field Summary
private  int id
           
private  int offset
           
 
Constructor Summary
CorrelatorRel.Correlation(int id, int offset)
          Creates a correlation.
 
Method Summary
 int compareTo(CorrelatorRel.Correlation other)
           
 int getId()
          Returns the identifier.
 int getOffset()
          Returns this correlation's offset.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private final int id

offset

private final int offset
Constructor Detail

CorrelatorRel.Correlation

public CorrelatorRel.Correlation(int id,
                                 int offset)
Creates a correlation.

Parameters:
id - Identifier
offset - Offset
Method Detail

getId

public int getId()
Returns the identifier.

Returns:
identifier

getOffset

public int getOffset()
Returns this correlation's offset.

Returns:
offset

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(CorrelatorRel.Correlation other)
Specified by:
compareTo in interface Comparable<CorrelatorRel.Correlation>