Class UserRepository.UserCsv

java.lang.Object
org.openmetadata.csv.EntityCsv<User>
org.openmetadata.service.jdbi3.UserRepository.UserCsv
Enclosing class:
UserRepository

public static class UserRepository.UserCsv extends EntityCsv<User>
  • 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<User>
      Throws:
      IOException
    • addRecord

      protected void addRecord(CsvFile csvFile, User 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<User>
    • exportCsv

      public String exportCsv() throws IOException
      Throws:
      IOException
    • invalidTeam

      public static String invalidTeam(int field, String team, String user, String userTeam)