Class DatabaseSchemaRepository.DatabaseSchemaCsv

java.lang.Object
org.openmetadata.csv.EntityCsv<Table>
org.openmetadata.service.jdbi3.DatabaseSchemaRepository.DatabaseSchemaCsv
Enclosing class:
DatabaseSchemaRepository

public static class DatabaseSchemaRepository.DatabaseSchemaCsv extends EntityCsv<Table>
  • Field Details

  • Method Details

    • createEntity

      protected void createEntity(org.apache.commons.csv.CSVPrinter printer, List<org.apache.commons.csv.CSVRecord> csvRecords) throws IOException
      Description copied from class: EntityCsv
      Implement this method to a CSV record and turn it into an entity
      Specified by:
      createEntity in class EntityCsv<Table>
      Throws:
      IOException
    • addRecord

      protected void addRecord(CsvFile csvFile, Table entity)
      Description copied from class: EntityCsv
      Implement this method to export an entity into a list of fields to create a CSV record
      Specified by:
      addRecord in class EntityCsv<Table>