net.sf.farrago.fennel.tuple
Class FennelAttributeAccessor.FennelIntAccessor
java.lang.Object
net.sf.farrago.fennel.tuple.FennelAttributeAccessor
net.sf.farrago.fennel.tuple.FennelAttributeAccessor.FennelIntAccessor
- Enclosing class:
- FennelAttributeAccessor
public static class FennelAttributeAccessor.FennelIntAccessor
- extends FennelAttributeAccessor
marshalls a numeric int (signed or unsigned)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FennelAttributeAccessor.FennelIntAccessor
public FennelAttributeAccessor.FennelIntAccessor()
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