接口 DataFormat
- 所有已知实现类:
JsonDataFormat,SqlDataFormat
public interface DataFormat
DataFomart
.-
方法概要
修饰符和类型 方法 说明 voidwriteDataEnd(DatabaseMetadata databaseMetadata)Write data end.voidwriteDataStart(DatabaseMetadata databaseMetadata)Write data start.voidwriteRow(Table tableMetadata, java.sql.ResultSet res)Write row.voidwriteTableEnd(Table tableMetadata)Write table end.voidwriteTableStart(Table tableMetadata)Write table start.
-
方法详细资料
-
writeDataStart
Write data start.- 参数:
databaseMetadata- the database metadata- 抛出:
java.lang.Exception- the exception
-
writeDataEnd
Write data end.- 参数:
databaseMetadata- the database metadata- 抛出:
java.lang.Exception- the exception
-
writeTableStart
Write table start.- 参数:
tableMetadata- the table metadata- 抛出:
java.lang.Exception- the exception
-
writeTableEnd
Write table end.- 参数:
tableMetadata- the table metadata- 抛出:
java.lang.Exception- the exception
-
writeRow
Write row.- 参数:
tableMetadata- the table metadatares- the res- 抛出:
java.lang.Exception- the exception
-