Constructor
new DBUpgradeFromVersion1()
- Implements:
- Source:
Methods
-
upgrade(db, transaction)
-
Parameters:
Name Type Description dbIDBDatabase transactionIDBTransaction - Implements:
- Source:
-
(private, static) convertManifest_(oldValue) → {shakaExtern.ManifestDB}
-
Parameters:
Name Type Description oldValueshakaExtern.ManifestDBV1 Returns:
-
(private, static) convertPeriod_(oldValue) → {shakaExtern.PeriodDB}
-
Parameters:
Name Type Description oldValueshakaExtern.PeriodDBV1 Returns:
- Type
- shakaExtern.PeriodDB
-
(private, static) convertSegment_(oldValue) → {shakaExtern.SegmentDB}
-
Parameters:
Name Type Description oldValueshakaExtern.SegmentDBV1 Returns:
-
(private, static) convertSegmentData_(oldValue) → {shakaExtern.SegmentDataDB}
-
Parameters:
Name Type Description oldValueshakaExtern.SegmentDataDBV1 Returns:
-
(private, static) convertStream_(oldValue) → {shakaExtern.StreamDB}
-
Parameters:
Name Type Description oldValueshakaExtern.StreamDBV1 Returns:
- Type
- shakaExtern.StreamDB
-
(private, static) fillMissingVariants_(period)
-
Parameters:
Name Type Description periodshakaExtern.PeriodDBV1 -
(private, static) put_(store, key, valuenon-null, done)
-
Parameters:
Name Type Description storeIDBObjectStore keynumber valueObject donefunction() -
(private, static) uriToSegmentId_(urinon-null) → (nullable) {number}
-
Parameters:
Name Type Description uristring Returns:
- Type
- number
-
(private, static) v1UriToSegmentId_(urinon-null) → (nullable) {number}
-
Parameters:
Name Type Description uristring Returns:
- Type
- number
-
(private, static) v2UriToSegmentId_(urinon-null) → (nullable) {number}
-
Parameters:
Name Type Description uristring Returns:
- Type
- number