Uses of Class
cloud.opencode.base.csv.transform.CsvTransform
Packages that use CsvTransform
-
Uses of CsvTransform in cloud.opencode.base.csv
Methods in cloud.opencode.base.csv that return CsvTransformModifier and TypeMethodDescriptionstatic CsvTransformOpenCsv.transform(CsvDocument doc) Creates a fluent transformation pipeline from a CSV document 从CSV文档创建流式转换管道 -
Uses of CsvTransform in cloud.opencode.base.csv.transform
Methods in cloud.opencode.base.csv.transform that return CsvTransformModifier and TypeMethodDescriptionAdds a new column with a fixed default value 添加具有固定默认值的新列Adds a new column with values computed from each row 添加值由每行计算得出的新列CsvTransform.filterColumns(Predicate<String> headerPredicate) Keeps only columns whose header names match the predicate 仅保留标题名匹配谓词的列static CsvTransformCsvTransform.from(CsvDocument doc) Creates a transformation pipeline from a CsvDocument 从CsvDocument创建转换管道CsvTransform.mapColumn(String column, UnaryOperator<String> mapper) Transforms values in a specific column 转换特定列中的值CsvTransform.mapRows(UnaryOperator<CsvRow> mapper) Transforms entire rows 转换整行CsvTransform.removeColumns(String... columns) Removes specified columns 移除指定的列CsvTransform.renameColumn(String oldName, String newName) Renames a single column 重命名单个列CsvTransform.renameColumns(Map<String, String> mapping) Renames multiple columns using a mapping 使用映射重命名多个列CsvTransform.reorderColumns(String... columnOrder) Reorders columns by specifying the desired column order 通过指定期望的列顺序来重新排列列