Package org.openmetadata.service.jdbi3
Class GlossaryRepository.GlossaryCsv
java.lang.Object
org.openmetadata.csv.EntityCsv<GlossaryTerm>
org.openmetadata.service.jdbi3.GlossaryRepository.GlossaryCsv
- Enclosing class:
- GlossaryRepository
-
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 voidaddRecord(CsvFile csvFile, GlossaryTerm entity) Implement 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 entityMethods 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<GlossaryTerm>- Throws:
IOException
-
addRecord
Description copied from class:EntityCsvImplement this method to export an entity into a list of fields to create a CSV record- Specified by:
addRecordin classEntityCsv<GlossaryTerm>
-