Class: TSQLStandardHint

Declaration: SQLStandardDataAccess.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TSQLHint

Inherited By:

None.

Purpose:

This concrete class provides SQL construction hints for a standard connection.

Instantiation:

Allocate on the heap or the stack. Obtain instances of this class from TSQLStandardConnectionHandle::GetSQLHint.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TSQLStandardHint::TSQLStandardHint

  1. TSQLStandardHint ()
  2. TSQLStandardHint (const TSQLStandardHint &)
  3. TSQLStandardHint (TSQLStandardConnection &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.
  3. A constructor that binds the hint to the given connection.

Calling Context:

  1. Called by the stream-in operators and any other function that needs to construct an uninitialized object.
  2. Called to copy an object.
  3. Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::~TSQLStandardHint

virtual ~ TSQLStandardHint ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::operator=

TSQLStandardHint & operator =(const TSQLStandardHint &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetServerNameCase

virtual ECase GetServerNameCase () const

Interface Category:

API.

Purpose:

Returns the server name case for system entity names.

Calling Context:

Call this function directly.

Parameters:

Return Value:

The server name case for system entity names.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetBooleanHint

virtual bool GetBooleanHint (EBooleanHint) const

Interface Category:

API.

Purpose:

Returns the value of the specified Boolean attribute.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns true if the value of the requested hint is true.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetTextHint

virtual const TText & GetTextHint (ETextHint, TText &) const

Interface Category:

API.

Purpose:

Returns the value of the specified text attribute.

Calling Context:

Call this function directly.

Parameters:

Return Value:

A const reference to the value of the specified text attribute.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetNumericColumnType

virtual const TText & GetNumericColumnType (TText &, TSQLColumnDescriptor :: Length, TSQLColumnDescriptor :: Precision precision =0) const

Interface Category:

API.

Purpose:

Returns the native SQL for the numeric column creation.

Calling Context:

Call this function directly.

Parameters:

Return Value:

The column creation SQL for the specified numeric type.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetTextColumnType

virtual const TText & GetTextColumnType (TText &, TSQLColumnDescriptor :: Length) const

Interface Category:

API.

Purpose:

Returns the native SQL for the text column creation.

Calling Context:

Call this function directly.

Parameters:

Return Value:

The column creation SQL for the specified text type.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetLockSQL

virtual const TText & GetLockSQL (TText &, const TSequenceOf < TText > &, const TText &, const TText &) const

Interface Category:

API.

Purpose:

Returns, by value and fill-in reference, the native SQL row-locking select statement for updating the specified columns of the named table in the rows that match the given selection constraint.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns, by value, the native SQL row-locking select statement.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetSQLTimestamp

virtual const TText & GetSQLTimestamp (TText &, const TSQLTimestamp &) const

Interface Category:

API.

Purpose:

Returns, by value and fill-in reference, the native SQL that corresponds to the given time-stamp value.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns, by value, the native SQL statement.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetSQLTime

virtual const TText & GetSQLTime (TText &, const TSQLTime &) const

Interface Category:

API.

Purpose:

Returns, by value and fill-in reference, the native SQL that corresponds to the given time value.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns, by value, the native SQL statement.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TSQLStandardHint::GetSQLDate

virtual const TText & GetSQLDate (TText &, const TSQLDate &) const

Interface Category:

API.

Purpose:

Returns, by value and fill-in reference, the native SQL string constant that corresponds to the given date value.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns, by value, the native SQL statement.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.