scale.clef.expr
Class PositionOffsetOp

java.lang.Object
  extended by scale.clef.expr.PositionOp
      extended by scale.clef.expr.PositionOffsetOp

public class PositionOffsetOp
extends PositionOp

The PositionOffsetOp class represents a position in an aggregation as an offset, in bytes, from the start of the aggregation.

$Id: PositionOffsetOp.java,v 1.1 2005-03-14 22:28:57 burrill Exp $

Copyright 2005 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.


Constructor Summary
PositionOffsetOp(long offset)
           
 
Method Summary
 boolean equivalent(java.lang.Object exp)
          Return true if the two expressions are equivalent.
 long getOffset()
          Return the offset, in bytes, from the start of the aggregation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PositionOffsetOp

public PositionOffsetOp(long offset)
Method Detail

getOffset

public final long getOffset()
Return the offset, in bytes, from the start of the aggregation.


equivalent

public boolean equivalent(java.lang.Object exp)
Return true if the two expressions are equivalent.

Overrides:
equivalent in class PositionOp

toString

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