net.sf.farrago.query
Class FennelRelParamId
java.lang.Object
net.sf.farrago.query.FennelRelParamId
public class FennelRelParamId
- extends Object
FennelRelParamId is an opaque type representing the reservation of a FennelDynamicParamId
during query planning. See the design
docs for why this logical ID is needed in addition to
FennelDynamicParamId, which is the physical ID. A 64-bit integer is used
since a large number of these may be generated and then discarded during
query planning. (I hate to think about the implications of a planner that
would actually exhaust 32 bits, but still, one just can't be too safe.)
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/query/FennelRelParamId.java#8 $
- Author:
- John V. Sichi
Field Summary |
private long |
id
|
id
private final long id
FennelRelParamId
public FennelRelParamId(long id)
longValue
public long longValue()
- Returns:
- the underlying long value
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object