#include "src/trace_processor/perfetto_sql/intrinsics/functions/type_builders.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <variant>
#include <vector>
#include "perfetto/base/logging.h"
#include "perfetto/base/status.h"
#include "perfetto/ext/base/flat_hash_map.h"
#include "perfetto/ext/base/hash.h"
#include "perfetto/public/compiler.h"
#include "perfetto/trace_processor/basic_types.h"
#include "src/trace_processor/containers/interval_intersector.h"
#include "src/trace_processor/perfetto_sql/engine/perfetto_sql_engine.h"
#include "src/trace_processor/perfetto_sql/intrinsics/types/array.h"
#include "src/trace_processor/perfetto_sql/intrinsics/types/node.h"
#include "src/trace_processor/perfetto_sql/intrinsics/types/partitioned_intervals.h"
#include "src/trace_processor/perfetto_sql/intrinsics/types/row_dataframe.h"
#include "src/trace_processor/perfetto_sql/intrinsics/types/struct.h"
#include "src/trace_processor/sqlite/bindings/sqlite_aggregate_function.h"
#include "src/trace_processor/sqlite/bindings/sqlite_function.h"
#include "src/trace_processor/sqlite/bindings/sqlite_result.h"
#include "src/trace_processor/sqlite/bindings/sqlite_type.h"
#include "src/trace_processor/sqlite/bindings/sqlite_value.h"
#include "src/trace_processor/sqlite/sqlite_utils.h"
#include "src/trace_processor/util/status_macros.h"
namespace perfetto::trace_processor {
namespace {
inline void HashSqlValue(base::Hasher& h, const SqlValue& v) { … }
Array;
struct ArrayAgg : public SqliteAggregateFunction<ArrayAgg> { … };
struct NodeAgg : public SqliteAggregateFunction<NodeAgg> { … };
struct Struct : public SqliteFunction<Struct> { … };
struct RowDataframeAgg : public SqliteAggregateFunction<Struct> { … };
struct IntervalTreeIntervalsAgg
: public SqliteAggregateFunction<perfetto_sql::PartitionedTable> { … };
}
base::Status RegisterTypeBuilderFunctions(PerfettoSqlEngine& engine) { … }
}