You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/nosql/samples-java.md
-17Lines changed: 0 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,12 +176,6 @@ The [Collection CRUD Samples](https://github.com/Azure/azure-documentdb-java/blo
176
176
| Exclude specified documents paths from the index |[IndexingPolicy.ExcludedPaths](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/indexmanagement/sync/SampleIndexManagement.java#L148-L151)|
177
177
| Create a composite index |[IndexingPolicy.setCompositeIndexes](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/indexmanagement/sync/SampleIndexManagement.java#L167-L184) <br> CompositePath |
178
178
| Create a geospatial index |[IndexingPolicy.setSpatialIndexes](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/indexmanagement/sync/SampleIndexManagement.java#L153-L165) <br> SpatialSpec <br> SpatialType |
179
-
<!-- | Exclude a document from the index | ExcludedIndex<br>IndexingPolicy | -->
180
-
<!-- | Use Lazy Indexing | IndexingPolicy.IndexingMode | -->
181
-
<!-- | Force a range scan operation on a hash indexed path | FeedOptions.EnableScanInQuery | -->
182
-
<!-- | Use range indexes on Strings | IndexingPolicy.IncludedPaths<br>RangeIndex | -->
183
-
<!-- | Perform an index transform | - | -->
184
-
185
179
186
180
For more information about indexing, see [Azure Cosmos DB indexing policies](../index-policy.md).
187
181
@@ -204,7 +198,6 @@ The Query Samples files for [sync](https://github.com/Azure-Samples/azure-cosmos
204
198
| Query with parameterized SQL using SqlQuerySpec |[CosmosContainer.queryItems](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/queries/sync/QueriesQuickstart.java#L387-L416) <br> [CosmosAsyncContainer.queryItems](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/0ead4ca33dac72c223285e1db866c9dc06f5fb47/src/main/java/com/azure/cosmos/examples/queries/async/QueriesQuickstartAsync.java#L426-L455)|
205
199
| Query with explicit paging |[CosmosContainer.queryItems](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/queries/sync/QueriesQuickstart.java#L211-L261) <br> [CosmosAsyncContainer.queryItems](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/0ead4ca33dac72c223285e1db866c9dc06f5fb47/src/main/java/com/azure/cosmos/examples/queries/async/QueriesQuickstartAsync.java#L250-L300)|
206
200
| Query partitioned collections in parallel |[CosmosContainer.queryItems](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/queries/sync/QueriesQuickstart.java#L263-L284) <br> [CosmosAsyncContainer.queryItems](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/0ead4ca33dac72c223285e1db866c9dc06f5fb47/src/main/java/com/azure/cosmos/examples/queries/async/QueriesQuickstartAsync.java#L302-L323)|
207
-
<!-- | Query with ORDER BY for partitioned collections | CosmosContainer.queryItems <br> CosmosAsyncContainer.queryItems | -->
208
201
209
202
## Change feed examples
210
203
The [Change Feed Processor Sample](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/changefeed/SampleChangeFeedProcessor.java) file shows how to do the following tasks. To learn about change feed in Azure Cosmos DB before you run the following samples, see [Read Azure Cosmos DB change feed](read-change-feed.md) and [Change feed processor](/azure/cosmos-db/sql/change-feed-processor?tabs=java).
@@ -213,7 +206,6 @@ The [Change Feed Processor Sample](https://github.com/Azure-Samples/azure-cosmos
| Read change feed from the beginning |[ChangeFeedProcessorOptions.setStartFromBeginning()](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/0ead4ca33dac72c223285e1db866c9dc06f5fb47/src/main/java/com/azure/cosmos/examples/changefeed/SampleChangeFeedProcessor.java#L65)|
216
-
<!-- | Read change feed from a specific time | ChangeFeedProcessor.changeFeedProcessorBuilder | -->
217
209
218
210
## Server-side programming examples
219
211
@@ -225,15 +217,6 @@ The [Stored Procedure Sample](https://github.com/Azure-Samples/azure-cosmos-java
225
217
| Execute a stored procedure |[CosmosStoredProcedure.execute](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/storedprocedure/sync/SampleStoredProcedure.java#L213-L227)|
226
218
| Delete a stored procedure |[CosmosStoredProcedure.delete](https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/main/src/main/java/com/azure/cosmos/examples/storedprocedure/sync/SampleStoredProcedure.java#L254-L264)|
227
219
228
-
<!-- ## User management examples
229
-
The User Management Sample file shows how to do the following tasks:
230
-
231
-
| Task | API reference |
232
-
| --- | --- |
233
-
| Create a user | - |
234
-
| Set permissions on a collection or document | - |
235
-
| Get a list of a user's permissions |- | -->
236
-
237
220
## Next steps
238
221
239
222
Trying to do capacity planning for a migration to Azure Cosmos DB? You can use information about your existing database cluster for capacity planning.
Copy file name to clipboardExpand all lines: articles/cosmos-db/nosql/troubleshoot-java-async-sdk.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -278,7 +278,6 @@ The number of connections to the Azure Cosmos DB endpoint in the `ESTABLISHED` s
278
278
279
279
Many connections to the Azure Cosmos DB endpoint might be in the `CLOSE_WAIT` state. There might be more than 1,000. A number that high indicates that connections are established and torn down quickly. This situation potentially causes problems. For more information, see the [Common issues and workarounds] section.
280
280
281
-
<!--Anchors-->
282
281
[Common issues and workarounds]: #common-issues-workarounds
0 commit comments