Navigation
API > API/Runtime > API/Runtime/TypedElementFramework
============================================================================ FQueryExpression — composite expression of column conditions and relation predicates.
Build one with operator&& between:
- TColumn
() or FConditions (column conditions, evaluated at archetype level) - IsDescendantOf / IsSubjectOf / etc. free functions (relation predicates, per-entity) All conditions are AND-composed.
Example: using namespace UE::Editor::DataStorage::Queries; Select(...).Where(TColumn
Composite query expression holding both column conditions (evaluated at archetype selection time via SetArchetypeMatchOverride) and relation predicates (evaluated per-entity after chunk selection). Column and relation conditions are AND-composed with each other.
| Name | FQueryExpression |
| Type | struct |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementQueryBuilder.h |
| Include Path | #include "Elements/Framework/TypedElementQueryBuilder.h" |
Syntax
struct FQueryExpression
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ColumnConditions | TOptional< FConditions > | Column conditions. Evaluated at archetype level. Absent when only relation predicates are combined. | Elements/Framework/TypedElementQueryBuilder.h | |
| RelationAtoms | TArray< FQueryDescription::FRelationPredicate, TInlineAllocator< 2 > > | Relation predicates AND-composed with each other and with ColumnConditions. | Elements/Framework/TypedElementQueryBuilder.h |