public class Table extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addRow(Row row) |
void |
addRowList(List<Row> rowList) |
boolean |
containRow(cn.hutool.core.lang.Tuple key) |
cn.hutool.core.lang.Pair<List<String>,List<Map<String,Object>>> |
export(String... cKeys) |
cn.hutool.core.lang.Pair<List<String>,List<List<Object>>> |
export4EasyExcel(String... cKeys) |
void |
foreachRow(java.util.function.Consumer<Row> consumer) |
Row |
getRow(cn.hutool.core.lang.Tuple key) |
boolean |
isEmpty() |
String |
print(int rowLimit,
String... cKeys) |
void |
removeRow(Row row) |
boolean |
removeRowByKey(cn.hutool.core.lang.Tuple key) |
String |
summary()
获取table的统计信息
|
Table |
transform(TableTransform tableTransform) |
public boolean isEmpty()
public void addRow(Row row)
public Row getRow(cn.hutool.core.lang.Tuple key)
public void removeRow(Row row)
public boolean removeRowByKey(cn.hutool.core.lang.Tuple key)
public boolean containRow(cn.hutool.core.lang.Tuple key)
public void foreachRow(java.util.function.Consumer<Row> consumer)
public String summary()
public cn.hutool.core.lang.Pair<List<String>,List<Map<String,Object>>> export(String... cKeys)
public cn.hutool.core.lang.Pair<List<String>,List<List<Object>>> export4EasyExcel(String... cKeys)
public Table transform(TableTransform tableTransform)
Copyright © 2025. All rights reserved.