Public Member Functions | |
bool | build () |
void | executeAndLoad (void *address) |
QVQueryMaker (const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema) | |
void | select (const std::vector< int > &fullId, const Selection &selection) |
size_t | selectionCount (const std::vector< int > &fullId, const Selection &selection) |
void | setQueryCondition (IRelationalData &queryData, const Selection &selection, MappingElement &mappingElement) |
~QVQueryMaker () | |
Private Attributes | |
std::auto_ptr< IArrayHandler > | m_arrayHandler |
std::auto_ptr< IRelationalReader > | m_dataReader |
DataElement | m_localElement |
MappingElement & | m_mappingElement |
Reflex::Type | m_objectType |
int | m_oid |
std::auto_ptr< SelectOperation > | m_query |
std::vector< int > | m_recordId |
ContainerSchema & | m_schema |
Definition at line 50 of file QueryableVectorStreamer.cc.
|
inline |
Definition at line 52 of file QueryableVectorStreamer.cc.
|
inline |
Definition at line 63 of file QueryableVectorStreamer.cc.
|
inline |
Definition at line 66 of file QueryableVectorStreamer.cc.
References ora::DataElement::clear(), ora::ClassUtils::containerSubType(), ora::ClassUtils::containerValueType(), ora::MappingElement::end(), ora::MappingElement::find(), i, m_arrayHandler, m_dataReader, m_localElement, m_mappingElement, m_objectType, m_query, m_recordId, m_schema, ora::ArrayHandlerFactory::newArrayHandler(), ora::RelationalStreamerFactory::newReader(), ora::MappingElement::pkColumn(), ora::MappingElement::recordIdColumns(), ora::ClassUtils::resolvedType(), ora::ContainerSchema::storageSchema(), AlCaHLTBitMon_QueryRunRegistry::string, ora::MappingElement::tableName(), and ora::throwException().
Referenced by ora::QueryableVectorLoader::loadSelection().
|
inline |
Definition at line 219 of file QueryableVectorStreamer.cc.
References i, m_arrayHandler, m_dataReader, m_mappingElement, m_objectType, m_oid, m_query, m_recordId, ora::MappingElement::posColumn(), and ora::throwException().
Referenced by ora::QueryableVectorLoader::loadSelection().
|
inline |
Definition at line 169 of file QueryableVectorStreamer.cc.
References i, m_mappingElement, m_oid, m_query, m_recordId, ora::MappingElement::pkColumn(), setQueryCondition(), and ora::throwException().
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), ora::QueryableVectorLoader::loadSelection(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), and Vispa.Views.AbstractView.AbstractView::restoreSelection().
|
inline |
Definition at line 191 of file QueryableVectorStreamer.cc.
References i, m_mappingElement, m_schema, ora::MappingElement::pkColumn(), ora::MappingElement::recordIdColumns(), query::result, setQueryCondition(), ora::ContainerSchema::storageSchema(), AlCaHLTBitMon_QueryRunRegistry::string, and ora::MappingElement::tableName().
Referenced by ora::QueryableVectorLoader::getSelectionCount().
|
inline |
Definition at line 113 of file QueryableVectorStreamer.cc.
References ora::MappingElement::columnNames(), ora::Selection::data(), ora::MappingElement::elementType(), ora::MappingElement::elementTypeAsString(), ora::MappingElement::end(), ora::MappingElement::find(), i, ora::Selection::indexVariable(), ora::Selection::items(), ora::MappingElement::Object, ora::MappingElement::Primitive, AlCaHLTBitMon_QueryRunRegistry::string, ora::throwException(), ora::Selection::variableNameFromUniqueString(), ora::IRelationalData::whereClause(), and ora::IRelationalData::whereData().
Referenced by select(), and selectionCount().
|
private |
Definition at line 282 of file QueryableVectorStreamer.cc.
Referenced by build(), and executeAndLoad().
|
private |
Definition at line 283 of file QueryableVectorStreamer.cc.
Referenced by build(), and executeAndLoad().
|
private |
Definition at line 280 of file QueryableVectorStreamer.cc.
Referenced by build().
|
private |
Definition at line 277 of file QueryableVectorStreamer.cc.
Referenced by build(), executeAndLoad(), select(), and selectionCount().
|
private |
Definition at line 276 of file QueryableVectorStreamer.cc.
Referenced by build(), and executeAndLoad().
|
private |
Definition at line 284 of file QueryableVectorStreamer.cc.
Referenced by executeAndLoad(), and select().
|
private |
Definition at line 281 of file QueryableVectorStreamer.cc.
Referenced by build(), executeAndLoad(), and select().
|
private |
Definition at line 279 of file QueryableVectorStreamer.cc.
Referenced by build(), executeAndLoad(), and select().
|
private |
Definition at line 278 of file QueryableVectorStreamer.cc.
Referenced by build(), and selectionCount().