Package org.openmetadata.service.jdbi3
Class TeamRepository.TeamCsv
- Enclosing class:
- TeamRepository
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openmetadata.csv.EntityCsv
EntityCsv.ImportResult -
Field Summary
FieldsFields inherited from class org.openmetadata.csv.EntityCsv
dryRunCreatedEntities, ENTITY_CREATED, ENTITY_UPDATED, FIELD_ERROR_MSG, IMPORT_FAILED, IMPORT_SKIPPED, IMPORT_STATUS_DETAILS, IMPORT_STATUS_HEADER, IMPORT_SUCCESS, processRecord, recordIndex -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplement this method to export an entity into a list of fields to create a CSV recordprotected voidcreateEntity(org.apache.commons.csv.CSVPrinter printer, List<org.apache.commons.csv.CSVRecord> csvRecords) Implement this method to a CSV record and turn it into an entitystatic StringinvalidTeam(int field, String team, String importedTeam, String parentName) Methods inherited from class org.openmetadata.csv.EntityCsv
addRecord, columnNotFound, createEntity, entityNotFound, exportCsv, exportCsv, failed, fieldRequired, getBoolean, getCsvDocumentation, getEntityByName, getEntityReference, getEntityReference, getEntityReferences, getNextRecord, getNextRecord, getOwner, getOwnerAsUser, getResultHeaders, getTagLabels, importCsv, importFailure, importSuccess, invalidBoolean, invalidField, invalidFieldCount, invalidHeader, invalidOwner, resetRequiredColumns
-
Field Details
-
DOCUMENTATION
-
HEADERS
-
-
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:EntityCsvImplement this method to a CSV record and turn it into an entity- Specified by:
createEntityin classEntityCsv<Team>- Throws:
IOException
-
addRecord
Description copied from class:EntityCsvImplement this method to export an entity into a list of fields to create a CSV record -
invalidTeam
-
exportCsv
- Throws:
IOException
-