mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
docs: Java client usage (#489)
* docs: java usage quick-start * docs: collections java usage * docs: payload java usage * docs: points java-usage * docs: search java-usage * docs: explore java usage * docs: filtering java usage * docs: storage java-usage * docs: indexing java usage * docs: snapshots java-usage * docs: list Java sdk
This commit is contained in:
@@ -21,7 +21,7 @@ However, we recommend rotating the keys from time to time. To create additional
|
||||
## Authenticate via SDK
|
||||
|
||||
Now that you have created your first cluster and key, you might want to access Qdrant Cloud from within your application.
|
||||
Our official Qdrant clients for Python, TypeScript, Go, Rust, and .NET all support the API key parameter.
|
||||
Our official Qdrant clients for Python, TypeScript, Go, Rust, .NET and Java all support the API key parameter.
|
||||
|
||||
```bash
|
||||
curl \
|
||||
@@ -70,3 +70,17 @@ let client = QdrantClient::from_url("xyz-example.eu-central.aws.cloud.qdrant.io:
|
||||
.build()
|
||||
.unwrap();
|
||||
```
|
||||
|
||||
```java
|
||||
import io.qdrant.client.QdrantClient;
|
||||
import io.qdrant.client.QdrantGrpcClient;
|
||||
|
||||
QdrantClient client =
|
||||
new QdrantClient(
|
||||
QdrantGrpcClient.newBuilder(
|
||||
"xyz-example.eu-central.aws.cloud.qdrant.io",
|
||||
6334,
|
||||
true)
|
||||
.withApiKey("<paste-your-api-key-here>")
|
||||
.build());
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user