简体   繁体   English

如何使用 Azure Cosmos DB 中的拉 model 和 Java?

[英]How to use the pull model in Azure Cosmos DB with Java?

In the documentation of the pull model you can read that the pull model is only available for .NET.pull model 的文档中,您可以看到 pull model 仅适用于 .NET。 It there a possible to emulate the FeedIterator in Java?是否可以模拟 Java 中的 FeedIterator? Is there any beta that support this already?是否有任何支持此功能的测试版?

The method queryChangeFeed from the CosmosContainer or CosmosAsyncContainer class seems to return an Iterable. CosmosContainerCosmosAsyncContainer class 中的方法queryChangeFeed似乎返回了一个 Iterable。 See the unit test for an sample.有关示例,请参阅单元测试

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 带mongo-java-driver的Spring将Azure Cosmos DB用作MongoDB - Spring with mongo-java-driver Use Azure Cosmos DB as MongoDB 如何使用 Java SQL ZDB97423871083819Z Azure Cosmos DB 重命名容器 - How to rename a container in Azure Cosmos DB with Java SQL API? 使用 Java 中的 Azure Cosmos DB 发布/订阅的示例 - Sample for publish/subscribe with Azure Cosmos DB in Java 如何将图像文件存储在 Azure Cosmos DB 中? - How to store image files in Azure Cosmos DB? 如何使用 JAVA 从 Azure 的 Cosmos DB 集合之一中获取所有文档? - How to fetch all documents from one of the collection of Azure's Cosmos DB using JAVA? 如何将 Java 客户端连接到 Windows 10 上的 Azure Cosmos db 模拟器,找不到证书 - How to connect a Java client to Azure Cosmos db emulator on Windows 10, can't find cert 从 Java 代码连接到 Azure Cosmos DB 时出现 UnknownHostException - UnknownHostException while connecting to Azure Cosmos DB from Java code 使用 Java SDK 的 Azure Cosmos DB Gremlin/Tinkerpop 令牌身份验证 - Azure Cosmos DB Gremlin/Tinkerpop Token Auth with Java SDK 适用于 Azure Cosmos Documents DB 的 Java Api (SQL Api) - Java Api for Azure Cosmos Documents DB (SQL Api) 带有 SpringBoot Java 的 Azure Cosmos DB - 按页码和大小分页 - Azure Cosmos DB with SpringBoot Java - Paginate by page number and size
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM