Class PostgresProfileQueryHandler
java.lang.Object
gov.nasa.jpl.aerie.merlin.worker.postgres.PostgresProfileQueryHandler
- All Implemented Interfaces:
AutoCloseable
Utility class to handle upload of resource profiles to the database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiduploadResourceProfiles(gov.nasa.jpl.aerie.merlin.driver.resources.ResourceProfiles resourceProfiles) Upload profiles, profile segments, and corresponding profile durations to the database.
-
Constructor Details
-
PostgresProfileQueryHandler
- Throws:
SQLException
-
-
Method Details
-
uploadResourceProfiles
public void uploadResourceProfiles(gov.nasa.jpl.aerie.merlin.driver.resources.ResourceProfiles resourceProfiles) Upload profiles, profile segments, and corresponding profile durations to the database. -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
SQLException
-