DSIExtColumnInSetCondition Class Reference

A class which defines a 'value is in this set' condition for a column in a seek. I.E, the SQL 'IN' operator. More...

Inherits Simba::SQLEngine::DSIExtColumnCondition.

List of all members.

Public Member Functions

virtual AutoPtr
< DSIExtColumnCondition
Clone () const
 Makes a deep copy of this object.
 DSIExtColumnInSetCondition (const SqlTypeMetadata &in_columnMeta)
 Constructor.
virtual
DSIExtColumnInSetCondition
GetAsColumnInSet ()
 Get this object as a DSIExtColumnInSetCondition.
virtual const
DSIExtColumnInSetCondition
GetAsColumnInSet () const
 Get this object as a DSIExtColumnInSetCondition.
const std::vector
< DSIExtKeySegment > & 
GetKeyData () const
 Get the values in the set.
void SetKeyData (const std::vector< DSIExtKeySegment > &in_segments, bool in_mustCopy=false)
 Set the values for the set.
virtual ~DSIExtColumnInSetCondition ()
 Destructor.

Detailed Description

A class which defines a 'value is in this set' condition for a column in a seek. I.E, the SQL 'IN' operator.


Constructor & Destructor Documentation

DSIExtColumnInSetCondition ( const SqlTypeMetadata in_columnMeta  ) 

Constructor.

Parameters:
in_columnMeta Metadata for the column this condition works on.
virtual ~DSIExtColumnInSetCondition (  )  [virtual]

Destructor.


Member Function Documentation

virtual AutoPtr<DSIExtColumnCondition> Clone (  )  const [virtual]

Makes a deep copy of this object.

Returns:
A deep copy of this object.

Implements DSIExtColumnCondition.

virtual DSIExtColumnInSetCondition& GetAsColumnInSet (  )  [virtual]

Get this object as a DSIExtColumnInSetCondition.

Returns:
This object as a DSIExtColumnInSetCondition.

Reimplemented from DSIExtColumnCondition.

virtual const DSIExtColumnInSetCondition& GetAsColumnInSet (  )  const [virtual]

Get this object as a DSIExtColumnInSetCondition.

Returns:
This object as a DSIExtColumnInSetCondition.

Reimplemented from DSIExtColumnCondition.

const std::vector<DSIExtKeySegment>& GetKeyData (  )  const

Get the values in the set.

Returns:
The values in the set, sorted in ascending order (w.r.t. the type), without any NULLs or duplicates.
void SetKeyData ( const std::vector< DSIExtKeySegment > &  in_segments,
bool  in_mustCopy = false 
)

Set the values for the set.

Note: The values in in_segments must be sorted in ascending order (w.r.t the data's type), must not be NULL, and must not contain duplicates.

Parameters:
in_segments The data to set. Must contain at least one value.
in_mustCopy Whether the data must be copied to OWNed buffers.
Exceptions:
SEInvalidOperationException If in_segments is empty.

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

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