com.azure.cosmos.spark.FeedRangeInputPartition.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cosmos-spark_3-5_2-12 Show documentation
Show all versions of azure-cosmos-spark_3-5_2-12 Show documentation
OLTP Spark 3.5 Connector for Azure Cosmos DB SQL API
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.spark
import com.azure.cosmos.models.FeedRange
import org.apache.spark.sql.connector.read.InputPartition
private[spark] case class FeedRangeInputPartition(feedRangeJson: String) extends InputPartition {
@transient private[spark] val feedRange = FeedRange.fromString(feedRangeJson)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy