net.sf.farrago.fennel.tuple
Class FennelAttributeAccessor.FennelLongAccessor
java.lang.Object
net.sf.farrago.fennel.tuple.FennelAttributeAccessor
net.sf.farrago.fennel.tuple.FennelAttributeAccessor.FennelLongAccessor
- Enclosing class:
- FennelAttributeAccessor
public static final class FennelAttributeAccessor.FennelLongAccessor
- extends FennelAttributeAccessor
marshalls a numeric long (signed or unsigned)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FennelAttributeAccessor.FennelLongAccessor
public FennelAttributeAccessor.FennelLongAccessor()
marshalValueData
public void marshalValueData(ByteBuffer pDestData,
FennelTupleDatum value)
throws NullPointerException
- Description copied from class:
FennelAttributeAccessor
- Marshalls value data for the attribute. Only deals with the data bytes,
not length and null indicators.
- Specified by:
marshalValueData
in class FennelAttributeAccessor
- Parameters:
pDestData
- the target address where the data should be marshalledvalue
- the value to be marshalled
- Throws:
NullPointerException
unmarshalValue
public void unmarshalValue(FennelTupleAccessor tupleAccessor,
FennelTupleDatum value)
- Description copied from class:
FennelAttributeAccessor
- Unmarshalls the attribute's value into a tupledatum holder. Unlike the
C++ version, this *does* actually copy data.
- Specified by:
unmarshalValue
in class FennelAttributeAccessor
- Parameters:
tupleAccessor
- containing FennelTupleAccessor set up with the
current tuple image to be accessedvalue
- receives the reference to the unmarshalled value