FeedRange Interface
public interface FeedRange
Represents a feed range.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Feed |
forFullRange()
Creates a range for an entire container |
static
Feed |
forLogicalPartition(PartitionKey partitionKey)
Creates a range for a certain logical partition |
static
Feed |
fromString(String json)
Creates a range from a previously obtained string representation. |
abstract String |
toString()
Gets a json representation of the feed range - the returned json string can be used to create a new feed range instance from it - (use factory method from |
Method Details
forFullRange
public static FeedRange forFullRange()
Creates a range for an entire container
Returns:
forLogicalPartition
public static FeedRange forLogicalPartition(PartitionKey partitionKey)
Creates a range for a certain logical partition
Parameters:
Returns:
fromString
public static FeedRange fromString(String json)
Creates a range from a previously obtained string representation.
Parameters:
Returns:
toString
public abstract String toString()
Gets a json representation of the feed range - the returned json string can be used to create a new feed range instance from it - (use factory method fromJsonString to do so)
Overrides:
FeedRange.toString()Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour