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
public static class GlossaryRepository.GlossaryCsv extends EntityCsv<GlossaryTerm>
-
-
Field Summary
Fields Modifier and Type Field Description static CsvDocumentationDOCUMENTATIONstatic List<CsvHeader>HEADERS-
Fields inherited from class org.openmetadata.csv.EntityCsv
dryRunCreatedEntities, ENTITY_CREATED, ENTITY_UPDATED, FIELD_ERROR_MSG, IMPORT_STATUS_DETAILS, IMPORT_STATUS_FAILED, IMPORT_STATUS_HEADER, IMPORT_STATUS_SUCCESS, processRecord
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GlossaryTermtoEntity(org.apache.commons.csv.CSVPrinter printer, org.apache.commons.csv.CSVRecord csvRecord)Implement this method to a CSV record and turn it into an entityprotected List<String>toRecord(GlossaryTerm entity)Implement this method to export an entity into a list of fields to create a CSV record-
Methods inherited from class org.openmetadata.csv.EntityCsv
entityNotFound, exportCsv, failed, fieldRequired, getBoolean, getCsvDocumentation, getEntityByName, getEntityReference, getEntityReference, getEntityReferences, getOwner, getOwnerAsUser, getResultHeaders, getTagLabels, getUserOrTeamEntityReferences, importCsv, importFailure, invalidBoolean, invalidField, invalidFieldCount, invalidHeader, invalidOwner
-
-
-
-
Field Detail
-
DOCUMENTATION
public static final CsvDocumentation DOCUMENTATION
-
-
Method Detail
-
toEntity
protected GlossaryTerm toEntity(org.apache.commons.csv.CSVPrinter printer, org.apache.commons.csv.CSVRecord csvRecord) throws IOException
Description copied from class:EntityCsvImplement this method to a CSV record and turn it into an entity- Specified by:
toEntityin classEntityCsv<GlossaryTerm>- Throws:
IOException
-
toRecord
protected List<String> toRecord(GlossaryTerm entity)
Description copied from class:EntityCsvImplement this method to export an entity into a list of fields to create a CSV record- Specified by:
toRecordin classEntityCsv<GlossaryTerm>
-
-