All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.cosmos.spark.PartitionPlanningInfo.scala Maven / Gradle / Ivy

There is a newer version: 4.34.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.spark

import com.azure.cosmos.spark.CosmosPredicates.{requireNotNull, requireNotNullOrEmpty}

private case class PartitionPlanningInfo
(
  feedRange: NormalizedRange,
  storageSizeInMB: Double,
  progressWeightFactor: Double,
  scaleFactor: Double,
  endLsn: Option[Long]
) {
  requireNotNull(feedRange, "feedRange")
  requireNotNull(storageSizeInMB, "storageSizeInMB")
  requireNotNull(scaleFactor, "scaleFactor")
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy