接口 DataFormat

所有已知实现类:
JsonDataFormat, SqlDataFormat

public interface DataFormat

DataFomart

.
  • 方法详细资料

    • writeDataStart

      void writeDataStart​(DatabaseMetadata databaseMetadata) throws java.lang.Exception
      Write data start.
      参数:
      databaseMetadata - the database metadata
      抛出:
      java.lang.Exception - the exception
    • writeDataEnd

      void writeDataEnd​(DatabaseMetadata databaseMetadata) throws java.lang.Exception
      Write data end.
      参数:
      databaseMetadata - the database metadata
      抛出:
      java.lang.Exception - the exception
    • writeTableStart

      void writeTableStart​(Table tableMetadata) throws java.lang.Exception
      Write table start.
      参数:
      tableMetadata - the table metadata
      抛出:
      java.lang.Exception - the exception
    • writeTableEnd

      void writeTableEnd​(Table tableMetadata) throws java.lang.Exception
      Write table end.
      参数:
      tableMetadata - the table metadata
      抛出:
      java.lang.Exception - the exception
    • writeRow

      void writeRow​(Table tableMetadata, java.sql.ResultSet res) throws java.lang.Exception
      Write row.
      参数:
      tableMetadata - the table metadata
      res - the res
      抛出:
      java.lang.Exception - the exception