in swift-source/all/Generated/places.swift [766:850]
func getHistoryMetadataBetween(start: PlacesTimestamp, end: PlacesTimestamp) throws -> [HistoryMetadata]
func getHistoryMetadataSince(since: PlacesTimestamp) throws -> [HistoryMetadata]
func getLatestHistoryMetadataForUrl(url: Url) throws -> HistoryMetadata?
func getTopFrecentSiteInfos(numItems: Int32, thresholdOption: FrecencyThresholdOption) throws -> [TopFrecentSiteInfo]
func getVisitCount(excludeTypes: VisitTransitionSet) throws -> Int64
func getVisitCountForHost(host: String, before: PlacesTimestamp, excludeTypes: VisitTransitionSet) throws -> Int64
func getVisitInfos(startDate: PlacesTimestamp, endDate: PlacesTimestamp, excludeTypes: VisitTransitionSet) throws -> [HistoryVisitInfo]
func getVisitPage(offset: Int64, count: Int64, excludeTypes: VisitTransitionSet) throws -> [HistoryVisitInfo]
func getVisitPageWithBound(bound: Int64, offset: Int64, count: Int64, excludeTypes: VisitTransitionSet) throws -> HistoryVisitInfosWithBound
func getVisited(urls: [String]) throws -> [Bool]
func getVisitedUrlsInRange(start: PlacesTimestamp, end: PlacesTimestamp, includeRemote: Bool) throws -> [Url]
func matchUrl(query: String) throws -> Url?
func metadataDelete(url: Url, referrerUrl: Url?, searchTerm: String?) throws
func metadataDeleteOlderThan(olderThan: PlacesTimestamp) throws
func newInterruptHandle() -> SqlInterruptHandle
func noteHistoryMetadataObservation(data: HistoryMetadataObservation, options: NoteHistoryMetadataObservationOptions) throws
func placesHistoryImportFromIos(dbPath: String, lastSyncTimestamp: Int64) throws -> HistoryMigrationResult
func queryAutocomplete(search: String, limit: Int32) throws -> [SearchResult]
func queryHistoryMetadata(query: String, limit: Int32) throws -> [HistoryMetadata]
/**
* Run maintenance on the places DB (checkpoint step)
*
* The `run_maintenance_*()` functions are intended to be run during idle time and will take steps
* to clean up / shrink the database. They're split up so that we can time each one in the
* Kotlin wrapper code (This is needed because we only have access to the Glean API in Kotlin and
* it supports a stop-watch style API, not recording specific values).
*/
func runMaintenanceCheckpoint() throws
/**
* Run maintenance on the places DB (optimize step)
*
* The `run_maintenance_*()` functions are intended to be run during idle time and will take steps
* to clean up / shrink the database. They're split up so that we can time each one in the
* Kotlin wrapper code (This is needed because we only have access to the Glean API in Kotlin and
* it supports a stop-watch style API, not recording specific values).
*/
func runMaintenanceOptimize() throws
/**
* Run maintenance on the places DB (prune step)
*
* The `run_maintenance_*()` functions are intended to be run during idle time and will take steps
* to clean up / shrink the database. They're split up so that we can time each one in the
* Kotlin wrapper code (This is needed because we only have access to the Glean API in Kotlin and
* it supports a stop-watch style API, not recording specific values).
*
* db_size_limit is the approximate storage limit in bytes. If the database is using more space
* than this, some older visits will be deleted to free up space. Pass in a 0 to skip this.
*
* prune_limit is the maximum number of visits to prune if the database is over db_size_limit
*/
func runMaintenancePrune(dbSizeLimit: UInt32, pruneLimit: UInt32) throws -> RunMaintenanceMetrics
/**
* Run maintenance on the places DB (vacuum step)
*
* The `run_maintenance_*()` functions are intended to be run during idle time and will take steps
* to clean up / shrink the database. They're split up so that we can time each one in the
* Kotlin wrapper code (This is needed because we only have access to the Glean API in Kotlin and
* it supports a stop-watch style API, not recording specific values).
*/
func runMaintenanceVacuum() throws
}
open class PlacesConnection: PlacesConnectionProtocol, @unchecked Sendable {