Module cloud.opencode.base.csv


module cloud.opencode.base.csv
OpenCode Base CSV Module CSV 处理模块

Provides lightweight CSV parsing, writing, binding, diffing, querying, transforming, merging, statistics, validation, splitting, sampling, and security based on RFC 4180.

提供基于 RFC 4180 的轻量级 CSV 解析、写入、绑定、差异比较、查询、转换、 合并、统计、校验、分割、抽样和安全功能。

Features | 主要功能:

  • RFC 4180 compliant parsing and writing - RFC 4180 合规解析和写入
  • Immutable document model (CsvDocument, CsvRow) - 不可变文档模型
  • Type-safe field conversion (CsvField) - 类型安全字段转换
  • Annotation-based POJO binding (@CsvColumn, @CsvFormat) - 注解驱动对象绑定
  • CSV diff/change detection - CSV差异/变更检测
  • Fluent query engine (select/where/orderBy/groupBy) - 流式查询引擎
  • Transformation pipeline (rename/reorder/add/remove/map) - 转换管道
  • Document merge (concat/innerJoin/leftJoin) - 文档合并
  • Column statistics (sum/avg/min/max/distinct/frequency) - 列统计
  • Declarative validation framework - 声明式校验框架
  • Document splitting and sampling - 文档分割和抽样
  • Formula injection protection - 公式注入防护
Since:
JDK 25, opencode-base-csv V1.0.3
Author:
Leon Soo