|
QGIS API Documentation
master-59fd5e0
|
Join information prepared for fast attribute id mapping in QgsVectorLayerJoinBuffer::updateFeatureAttributes(). More...
#include <qgsvectorlayerfeatureiterator.h>
Collaboration diagram for QgsVectorLayerFeatureIterator::FetchJoinInfo:Public Member Functions | |
| void | addJoinedAttributesCached (QgsFeature &f, const QVariant &joinValue) const |
| void | addJoinedAttributesDirect (QgsFeature &f, const QVariant &joinValue) const |
Public Attributes | |
| QgsAttributeList | attributes |
| attributes to fetch | |
| int | indexOffset |
| at what position the joined fields start | |
| int | joinField |
| index of field (of the joined layer) must have equal value | |
| const QgsVectorJoinInfo * | joinInfo |
| cannonical source of information about the join | |
| QgsVectorLayer * | joinLayer |
| resolved pointer to the joined layer | |
| int | targetField |
| index of field (of this layer) that drives the join | |
Join information prepared for fast attribute id mapping in QgsVectorLayerJoinBuffer::updateFeatureAttributes().
Created in the select() method of QgsVectorLayerJoinBuffer for the joins that contain fetched attributes
Definition at line 75 of file qgsvectorlayerfeatureiterator.h.
| void QgsVectorLayerFeatureIterator::FetchJoinInfo::addJoinedAttributesCached | ( | QgsFeature & | f, |
| const QVariant & | joinValue | ||
| ) | const |
Definition at line 375 of file qgsvectorlayerfeatureiterator.cpp.
References QgsVectorJoinInfo::cachedAttributes, indexOffset, joinField, joinInfo, and QgsFeature::setAttribute().
Referenced by QgsVectorLayerFeatureIterator::addJoinedAttributes().
| void QgsVectorLayerFeatureIterator::FetchJoinInfo::addJoinedAttributesDirect | ( | QgsFeature & | f, |
| const QVariant & | joinValue | ||
| ) | const |
Definition at line 397 of file qgsvectorlayerfeatureiterator.cpp.
References QgsFeature::attributes(), QgsFeatureIterator::nextFeature(), QgsFeatureRequest::NoGeometry, QgsFeature::setAttribute(), QgsFeatureRequest::setFlags(), and QgsFeatureRequest::setSubsetOfAttributes().
Referenced by QgsVectorLayerFeatureIterator::addJoinedAttributes().
attributes to fetch
Definition at line 78 of file qgsvectorlayerfeatureiterator.h.
at what position the joined fields start
Definition at line 79 of file qgsvectorlayerfeatureiterator.h.
Referenced by addJoinedAttributesCached(), and QgsVectorLayerFeatureIterator::prepareJoins().
index of field (of the joined layer) must have equal value
Definition at line 82 of file qgsvectorlayerfeatureiterator.h.
Referenced by addJoinedAttributesCached(), and QgsVectorLayerFeatureIterator::prepareJoins().
cannonical source of information about the join
Definition at line 77 of file qgsvectorlayerfeatureiterator.h.
Referenced by QgsVectorLayerFeatureIterator::addJoinedAttributes(), addJoinedAttributesCached(), and QgsVectorLayerFeatureIterator::prepareJoins().
resolved pointer to the joined layer
Definition at line 80 of file qgsvectorlayerfeatureiterator.h.
Referenced by QgsVectorLayerFeatureIterator::prepareJoins().
index of field (of this layer) that drives the join
Definition at line 81 of file qgsvectorlayerfeatureiterator.h.
Referenced by QgsVectorLayerFeatureIterator::addJoinedAttributes(), and QgsVectorLayerFeatureIterator::prepareJoins().