TemporaryTableInfo Class Reference

Prepared temporary table information used to create a temporary table. More...

List of all members.

Public Member Functions

SqlDataGetBookmarkCache ()
 Get the cached SQLData for reading/writing bookmarks for long columns.
Simba::DSI::IColumnGetBookmarkColumn ()
 Get the bookmark column for this temporary table if present.
simba_uint16 GetBookmarkColumnNumber ()
 Get the bookmark column number.
simba_uint16 GetBookmarkSize ()
 Get the bookmark size for the table.
Simba::DSI::IColumnsGetColumns ()
 Get the data columns for this temporary table (does not include bookmark column).
Simba::DSI::LongDataCacheTableGetLongDataCache ()
 Get the long data cache that contains long column data in the case where the DSII does not support bookmarking.
const std::vector< simba_byte > & IsLongData ()
 Get a vector that tracks whether columns contain long data or not.
bool IsLongData (simba_uint16 in_column) const
 Get a vector that tracks whether columns contain "long data" or not.
 TemporaryTableInfo (IColumns *in_columns)
 Constructor.
virtual ~TemporaryTableInfo ()
 Destructor.

Protected Attributes

AutoPtr< SqlDatam_bmCache
AutoPtr< Simba::DSI::IColumnm_bmColumn
simba_uint16 m_bmColumnNumber
simba_uint16 m_bmSize
Simba::DSI::IColumnsm_columns
std::vector< simba_byte > m_isLongData
AutoPtr
< Simba::DSI::LongDataCacheTable
m_longDataCache

Detailed Description

Prepared temporary table information used to create a temporary table.


Constructor & Destructor Documentation

TemporaryTableInfo ( IColumns in_columns  ) 

Constructor.

Parameters:
in_columns The columns for this temporary table. (NOT OWN)
virtual ~TemporaryTableInfo (  )  [virtual]

Destructor.


Member Function Documentation

SqlData* GetBookmarkCache (  )  [inline]

Get the cached SQLData for reading/writing bookmarks for long columns.

Returns:
pointer to cached SQLData. (NOT OWN)
Simba::DSI::IColumn* GetBookmarkColumn (  )  [inline]

Get the bookmark column for this temporary table if present.

Returns:
pointer to bookmark column for this temporary table if present. (NOT OWN)
simba_uint16 GetBookmarkColumnNumber (  )  [inline]

Get the bookmark column number.

Returns:
the bookmark column number.
simba_uint16 GetBookmarkSize (  )  [inline]

Get the bookmark size for the table.

Returns:
the bookmark size for the table.
Simba::DSI::IColumns* GetColumns (  )  [inline]

Get the data columns for this temporary table (does not include bookmark column).

Returns:
pointer to the data columns for this temporary table (does not include bookmark column). (NOT OWN)
Simba::DSI::LongDataCacheTable* GetLongDataCache (  )  [inline]

Get the long data cache that contains long column data in the case where the DSII does not support bookmarking.

Returns:
pointer to the long data cache. (NOT OWN)
const std::vector<simba_byte>& IsLongData (  )  [inline]

Get a vector that tracks whether columns contain long data or not.

Returns:
const reference to vector that tracks whether columns contain long data or not.
bool IsLongData ( simba_uint16  in_column  )  const [inline]

Get a vector that tracks whether columns contain "long data" or not.

Parameters:
in_column The 0-based column index.
Returns:
True if the column is considered "long data"; false otherwise.

Member Data Documentation

AutoPtr<SqlData> m_bmCache [protected]
simba_uint16 m_bmColumnNumber [protected]
simba_uint16 m_bmSize [protected]
std::vector<simba_byte> m_isLongData [protected]

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:16 2017 for SimbaEngine 10.1.3.1011 by simba