Package backend.linguisticFeatures
Class LinguisticTranskriptDAO
java.lang.Object
backend.linguisticFeatures.LinguisticTranskriptDAO
- Author:
- Kai
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor that uses the pooled connection. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidfindByDocumentId(String documentId) Finds a LinguisticFeaturesAggregate_Impl object by documentId and converts lists back to maps.org.bson.DocumentgetDocumentFromCLass(LinguisticFeaturesAggregate_Impl updatedData) parseDocument(org.bson.Document doc) voidsave(LinguisticFeaturesAggregate_Impl linguisticFeaturesImpl) Saves a LinguisticFeaturesAggregate_Impl object to MongoDB, ensuring problematic maps are converted to list structures.voidupdate(LinguisticFeaturesAggregate_Impl updatedData) Updates a LinguisticFeaturesAggregate_Impl object, converting maps to lists before saving.
-
Constructor Details
-
LinguisticTranskriptDAO
public LinguisticTranskriptDAO()Default constructor that uses the pooled connection.
-
-
Method Details
-
save
Saves a LinguisticFeaturesAggregate_Impl object to MongoDB, ensuring problematic maps are converted to list structures. -
findByDocumentId
Finds a LinguisticFeaturesAggregate_Impl object by documentId and converts lists back to maps. -
parseDocument
-
update
Updates a LinguisticFeaturesAggregate_Impl object, converting maps to lists before saving. -
getDocumentFromCLass
-
delete
-
close
public void close()
-