chore: auto-commit (286 archivos)
- .claude/agents/fn-orquestador/SKILL.md - .claude/commands/fn_claude.md - .claude/rules/INDEX.md - .claude/rules/cpp_apps.md - .claude/rules/ids_naming.md - CHANGELOG.md - apps/dag_engine/README.md - apps/dag_engine/api.go - apps/dag_engine/dags_migrated/example.yaml - apps/dag_engine/dags_migrated/example_lineage_tracking.yaml - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
---
|
||||
name: data_table_types
|
||||
lang: cpp
|
||||
domain: core
|
||||
version: "1.0.0"
|
||||
algebraic: product
|
||||
definition: |
|
||||
namespace data_table {
|
||||
enum class ColumnType { Auto, String, Int, Float, Bool, Date, Json };
|
||||
enum class Op { Eq, Neq, Gt, Gte, Lt, Lte, Contains, NotContains, StartsWith, EndsWith };
|
||||
enum class AggFn { Count, Sum, Avg, Min, Max, Distinct, Stddev, Median, P25, P75, P90, P99, Percentile };
|
||||
enum class JoinStrategy { Left, Inner, Right, Full };
|
||||
enum class ViewMode { Table, Bar, Column, GroupedBar, StackedBar, Line, Area, ... };
|
||||
struct Filter { int col; Op op; std::string value; };
|
||||
struct Aggregation { AggFn fn; std::string col; double arg; std::string alias; };
|
||||
struct SortClause { std::string col; bool desc; };
|
||||
struct DerivedColumn { int source_col; ColumnType type; std::string name, formula; int lua_id; std::string compile_error; };
|
||||
struct Stage { filters, derived, breakouts, aggregations, sorts; };
|
||||
struct StageOutput { cell_backing, cells, rows, cols, headers, types; };
|
||||
struct TableInput { name, headers, types, cells, rows, cols; };
|
||||
struct Join { alias, source, on, strategy, fields; };
|
||||
struct ColorRule { int col; std::string equals; unsigned int color; };
|
||||
struct ViewConfig { x_col, y_cols, size_col, cat_col, primary_color, hist_bins, pie_radius, show_legend, ... };
|
||||
struct State { stages, active_stage, display, viz_config, extra_panels, joins, color_rules, col_visible, col_order; };
|
||||
}
|
||||
description: "Tipos compartidos del stack TQL (Table Query Language). Enums y structs value-only sin dependencias de ImGui. Incluidos por lua_engine, compute_stage, compute_pipeline, join_tables y auto_detect_type."
|
||||
tags: [tables, tql, types]
|
||||
uses_types: []
|
||||
file_path: "cpp/functions/core/data_table_types.h"
|
||||
---
|
||||
|
||||
## Notas
|
||||
|
||||
Header-only. Todos los tipos son value types (no punteros opacos). `Stage` y `StageOutput` son la unidad de composicion del pipeline TQL — un stage filtra, agrupa y ordena; un StageOutput es el input del stage siguiente. `DerivedColumn.lua_id` es una referencia al registry interno de `lua_engine`; -1 significa no compilado. `State` es el estado completo del widget de tabla incluyendo stages, viz config, joins y display mode.
|
||||
Reference in New Issue
Block a user