21 #include "NdbDictionary.hpp"
76 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
84 friend class NdbOut& operator<<(
class NdbOut&,
const class AttributeS&);
263 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
268 Uint32 attrId()
const;
272 bool receive_data(
const Uint32*, Uint32);
282 int setup(
const class NdbColumnImpl* anAttrInfo,
char* aValue);
283 int setup(Uint32 byteSize,
char* aValue);
285 bool copyoutRequired()
const;
288 Uint64 theStorage[4];
296 Int32 m_size_in_bytes;
300 Uint16* m_getVarValue;
308 #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
318 NdbRecAttr::getColumn()
const {
326 return *(Int32*)theRef;
333 return *(
short*)theRef;
340 return *(
char*)theRef;
347 return *(Int8*)theRef;
354 return *(Uint32*)theRef;
361 return *(Uint16*)theRef;
368 return *(Uint8*)theRef;
375 return *(Uint8*)theRef;
380 NdbRecAttr::release()
382 if (theStorageX != 0) {
383 delete [] theStorageX;
416 NdbRecAttr::next()
const
425 return (
char*)theRef;
430 NdbRecAttr::copyoutRequired()
const
432 return theRef != theValue && theValue != 0;
437 NdbRecAttr::attrId()
const
444 NdbRecAttr::setNULL()
454 return m_size_in_bytes == 0 ? 1 : (m_size_in_bytes > 0 ? 0 : -1);
459 NdbRecAttr::setUNDEFINED()
464 class NdbOut& operator <<(
class NdbOut&,
const NdbRecAttr &);
476 ndbrecattr_print_formatted(NdbOut& out,
const NdbRecAttr &r,
479 #endif // ifndef DOXYGEN_SHOULD_SKIP_INTERNAL