Constructor and Description |
---|
DBManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(String migrateFromVersion)
This method initializes the datasources required for the migration of the stats dbs
|
void |
migrateDestinationSummaryTable()
This method migrates the data related to the API_DESTINATION_SUMMARY table
|
void |
migrateExecutionTimeDaySummaryTable()
This method migrates the data related to the API_EXE_TME_DAY_SUMMARY table
|
void |
migrateExecutionTimeHourSummaryTable()
This method migrates the data related to the API_EXE_TIME_HOUR_SUMMARY table
|
void |
migrateExecutionTimeMinuteSummaryTable()
This method migrates the data related to the API_EXE_TIME_MIN_SUMMARY table
|
void |
migrateFaultSummaryTable()
This method migrates the data related to the API_FAULT_SUMMARY table
|
void |
migrateGeoLocationSummaryTable()
This method migrates the data related to the API_REQ_GEO_LOC_SUMMARY table
|
void |
migrateLastAccessTimeSummaryTable()
This method migrates the data related to the API_LAST_ACCESS_TIME_SUMMARY table
|
void |
migrateRequestSummaryTable()
This method migrates the data related to the API_REQUEST_SUMMARY table
|
void |
migrateResourceUsageSummaryTable()
This method migrates the data related to the API_RESOURCE_USAGE_SUMMARY table
|
void |
migrateThrottledOutRequestCountSummaryTable()
This method migrates the data related to the API_THROTTLED_OUT_SUMMARY table for success counts
|
void |
migrateThrottledOutSummaryTable()
This method migrates the data related to the API_THROTTLED_OUT_SUMMARY table
|
void |
migrateUserBrowserSummaryTable()
This method migrates the data related to the API_REQ_USR_BROW_SUMMARY table
|
void |
migrateVersionUsageSummaryTable()
This method migrates the data related to the API_VERSION_USAGE_SUMMARY table
|
void |
sortGraphQLOperation()
This method sort the graph QL operation stored as API Resource Template into an alphabetical order
|
public void initialize(String migrateFromVersion) throws APIMStatMigrationException
initialize
in interface DBManager
APIMStatMigrationException
- when there is an error looking up the datasourcespublic void migrateDestinationSummaryTable() throws APIMStatMigrationException
migrateDestinationSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateResourceUsageSummaryTable() throws APIMStatMigrationException
migrateResourceUsageSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateVersionUsageSummaryTable() throws APIMStatMigrationException
migrateVersionUsageSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateLastAccessTimeSummaryTable() throws APIMStatMigrationException
migrateLastAccessTimeSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateFaultSummaryTable() throws APIMStatMigrationException
migrateFaultSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateUserBrowserSummaryTable() throws APIMStatMigrationException
migrateUserBrowserSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateExecutionTimeDaySummaryTable() throws APIMStatMigrationException
migrateExecutionTimeDaySummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateExecutionTimeHourSummaryTable() throws APIMStatMigrationException
migrateExecutionTimeHourSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateExecutionTimeMinuteSummaryTable() throws APIMStatMigrationException
migrateExecutionTimeMinuteSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateThrottledOutSummaryTable() throws APIMStatMigrationException
migrateThrottledOutSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateThrottledOutRequestCountSummaryTable() throws APIMStatMigrationException
migrateThrottledOutRequestCountSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateRequestSummaryTable() throws APIMStatMigrationException
migrateRequestSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorpublic void sortGraphQLOperation() throws APIMStatMigrationException
sortGraphQLOperation
in interface DBManager
APIMStatMigrationException
- on errorpublic void migrateGeoLocationSummaryTable() throws APIMStatMigrationException
migrateGeoLocationSummaryTable
in interface DBManager
APIMStatMigrationException
- on errorCopyright © 2024 WSO2. All rights reserved.