#include <RelationalOperation.h>
Definition at line 159 of file RelationalOperation.h.
ora::SelectOperation::SelectOperation |
( |
const std::string & |
tableName, |
|
|
coral::ISchema & |
schema |
|
) |
| |
|
explicit |
Definition at line 224 of file RelationalOperation.cc.
226 m_spec(
new coral::AttributeListSpecification ),
std::auto_ptr< coral::IQuery > m_query
std::string m_whereClause
coral::AttributeListSpecification * m_spec
coral::ISchema & m_schema
coral::ICursor * m_cursor
coral::AttributeList m_whereData
std::vector< std::string > m_orderByCols
ora::SelectOperation::~SelectOperation |
( |
| ) |
|
void ora::SelectOperation::addBlobData |
( |
const std::string & |
columnName | ) |
|
|
virtual |
void ora::SelectOperation::addData |
( |
const std::string & |
columnName, |
|
|
const std::type_info & |
columnType |
|
) |
| |
|
virtual |
void ora::SelectOperation::addId |
( |
const std::string & |
columnName | ) |
|
|
virtual |
void ora::SelectOperation::addOrderId |
( |
const std::string & |
columnName | ) |
|
void ora::SelectOperation::addWhereId |
( |
const std::string & |
columnName | ) |
|
|
virtual |
coral::AttributeListSpecification & ora::SelectOperation::attributeListSpecification |
( |
| ) |
|
void ora::SelectOperation::clear |
( |
void |
| ) |
|
Definition at line 253 of file RelationalOperation.cc.
Referenced by python.Vispa.Views.WidgetView.WidgetView::closeEvent(), python.Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), python.Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), ora::OraPtrReadBuffer::read(), ora::ReadBuffer::read(), python.Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), python.Vispa.Views.WidgetView.WidgetView::setDataObjects(), python.Vispa.Views.TreeView.TreeView::updateContent(), python.Vispa.Views.TableView.TableView::updateContent(), python.Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and python.Vispa.Views.PropertyView.PropertyView::updateContent().
std::auto_ptr< coral::IQuery > m_query
coral::ICursor * m_cursor
coral::AttributeList & ora::SelectOperation::data |
( |
| ) |
|
|
virtual |
void ora::SelectOperation::execute |
( |
| ) |
|
Definition at line 299 of file RelationalOperation.cc.
References asciidump::table.
Referenced by ora::OraPtrReadBuffer::read(), and ora::ReadBuffer::read().
302 m_query.reset( table.newQuery() );
303 for ( coral::AttributeListSpecification::const_iterator iSpec =
m_spec->begin();
304 iSpec !=
m_spec->end(); ++iSpec ) {
305 m_query->addToOutputList( iSpec->name() );
306 m_query->defineOutputType( iSpec->name(),iSpec->typeName());
308 for(std::vector<std::string>::iterator iCol =
m_orderByCols.begin();
310 m_query->addToOrderList( *iCol );
313 m_query->setRowCacheSize( 100 );
std::auto_ptr< coral::IQuery > m_query
std::string m_whereClause
coral::AttributeListSpecification * m_spec
coral::ISchema & m_schema
coral::ICursor * m_cursor
coral::AttributeList m_whereData
std::vector< std::string > m_orderByCols
bool ora::SelectOperation::nextCursorRow |
( |
| ) |
|
std::string & ora::SelectOperation::whereClause |
( |
| ) |
|
|
virtual |
coral::AttributeList & ora::SelectOperation::whereData |
( |
| ) |
|
|
virtual |
coral::ICursor* ora::SelectOperation::m_cursor |
|
private |
std::vector<std::string> ora::SelectOperation::m_orderByCols |
|
private |
std::auto_ptr<coral::IQuery> ora::SelectOperation::m_query |
|
private |
coral::ISchema& ora::SelectOperation::m_schema |
|
private |
coral::AttributeListSpecification* ora::SelectOperation::m_spec |
|
private |
std::string ora::SelectOperation::m_tableName |
|
private |
std::string ora::SelectOperation::m_whereClause |
|
private |
coral::AttributeList ora::SelectOperation::m_whereData |
|
private |