◆ FieldQueryBuilder()
◆ addChoiceIntField()
void Digikam::FieldQueryBuilder::addChoiceIntField |
( |
const QString & |
name | ) |
|
◆ addChoiceStringField()
void Digikam::FieldQueryBuilder::addChoiceStringField |
( |
const QString & |
name | ) |
|
References Digikam::CoreDB::addBoundValuePlaceholders(), Digikam::ItemQueryBuilder::addSqlOperator(), Digikam::ItemQueryBuilder::addSqlRelation(), addStringField(), boundValues, Digikam::SearchXml::Like, Digikam::SearchXml::OneOf, Digikam::SearchXml::Or, reader, relation, sql, value, Digikam::SearchXmlCachingReader::value(), and Digikam::SearchXmlCachingReader::valueToStringList().
Referenced by Digikam::ItemQueryBuilder::buildField().
◆ addDateField()
void Digikam::FieldQueryBuilder::addDateField |
( |
const QString & |
name | ) |
|
References Digikam::ItemQueryBuilder::addSqlRelation(), boundValues, Digikam::SearchXml::Equal, Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::Interval, Digikam::SearchXml::IntervalOpen, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, reader, relation, sql, Digikam::SearchXmlCachingReader::value(), and Digikam::SearchXmlCachingReader::valueToStringList().
Referenced by Digikam::ItemQueryBuilder::buildField().
◆ addDoubleField()
void Digikam::FieldQueryBuilder::addDoubleField |
( |
const QString & |
name | ) |
|
References Digikam::ItemQueryBuilder::addSqlRelation(), boundValues, Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::Interval, Digikam::SearchXml::IntervalOpen, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, reader, relation, sql, Digikam::SearchXmlCachingReader::valueToDouble(), and Digikam::SearchXmlCachingReader::valueToDoubleList().
Referenced by Digikam::ItemQueryBuilder::buildField().
◆ addIntBitmaskField()
void Digikam::FieldQueryBuilder::addIntBitmaskField |
( |
const QString & |
name | ) |
|
◆ addIntField()
void Digikam::FieldQueryBuilder::addIntField |
( |
const QString & |
name | ) |
|
References Digikam::ItemQueryBuilder::addSqlRelation(), boundValues, Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::Interval, Digikam::SearchXml::IntervalOpen, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, reader, relation, sql, Digikam::SearchXmlCachingReader::valueToInt(), and Digikam::SearchXmlCachingReader::valueToIntList().
Referenced by addChoiceIntField(), and Digikam::ItemQueryBuilder::buildField().
◆ addLongField()
void Digikam::FieldQueryBuilder::addLongField |
( |
const QString & |
name | ) |
|
References Digikam::ItemQueryBuilder::addSqlRelation(), boundValues, Digikam::SearchXml::GreaterThan, Digikam::SearchXml::GreaterThanOrEqual, Digikam::SearchXml::Interval, Digikam::SearchXml::IntervalOpen, Digikam::SearchXml::LessThan, Digikam::SearchXml::LessThanOrEqual, reader, relation, sql, Digikam::SearchXmlCachingReader::valueToLongLong(), and Digikam::SearchXmlCachingReader::valueToLongLongList().
Referenced by addLongListField(), and Digikam::ItemQueryBuilder::buildField().
◆ addLongListField()
void Digikam::FieldQueryBuilder::addLongListField |
( |
const QString & |
name | ) |
|
◆ addPosition()
void Digikam::FieldQueryBuilder::addPosition |
( |
| ) |
|
References Digikam::ItemQueryPostHooks::addHook(), addRectanglePositionSearch(), Digikam::GeodeticCalculator::destinationGeographicPoint(), Digikam::GeodeticCalculator::ellipsoid(), hooks, Digikam::SearchXml::Inside, Digikam::SearchXml::Near, Digikam::Ellipsoid::radiusOfCurvature(), reader, relation, Digikam::GeodeticCalculator::setDirection(), Digikam::GeodeticCalculator::setStartingGeographicPoint(), sql, Digikam::Coordinates::toRadians(), Digikam::SearchXmlCachingReader::value(), and Digikam::SearchXmlCachingReader::valueToDoubleList().
Referenced by Digikam::ItemQueryBuilder::buildField().
◆ addRectanglePositionSearch()
void Digikam::FieldQueryBuilder::addRectanglePositionSearch |
( |
double |
lon1, |
|
|
double |
lat1, |
|
|
double |
lon2, |
|
|
double |
lat2 |
|
) |
| const |
◆ addStringField()
void Digikam::FieldQueryBuilder::addStringField |
( |
const QString & |
name | ) |
|
References Digikam::ItemQueryBuilder::addSqlRelation(), boundValues, Digikam::SearchXml::Like, Digikam::SearchXml::NotLike, Digikam::CoreDbAccess::parameters(), prepareForLike(), reader, relation, sql, and Digikam::SearchXmlCachingReader::value().
Referenced by addChoiceStringField(), and Digikam::ItemQueryBuilder::buildField().
◆ prepareForLike()
QString Digikam::FieldQueryBuilder::prepareForLike |
( |
const QString & |
str | ) |
const |
◆ boundValues
QList<QVariant>* Digikam::FieldQueryBuilder::boundValues |
◆ hooks
◆ reader
◆ relation
Referenced by addChoiceIntField(), addChoiceStringField(), addDateField(), addDoubleField(), addIntBitmaskField(), addIntField(), addLongField(), addLongListField(), addPosition(), addStringField(), and prepareForLike().
◆ sql
QString& Digikam::FieldQueryBuilder::sql |
Referenced by addChoiceIntField(), addChoiceStringField(), addDateField(), addDoubleField(), addIntBitmaskField(), addIntField(), addLongField(), addLongListField(), addPosition(), addRectanglePositionSearch(), and addStringField().
The documentation for this class was generated from the following files: