Package io.getstream.cloud
Class CloudCollectionsClient
- java.lang.Object
-
- io.getstream.cloud.CloudCollectionsClient
-
public final class CloudCollectionsClient extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java8.util.concurrent.CompletableFuture<CollectionData>
add(java.lang.String collection, CollectionData item)
java8.util.concurrent.CompletableFuture<CollectionData>
add(java.lang.String userID, java.lang.String collection, CollectionData item)
<T> java8.util.concurrent.CompletableFuture<T>
addCustom(java.lang.String userID, java.lang.String collection, T item)
<T> java8.util.concurrent.CompletableFuture<T>
addCustom(java.lang.String collection, T item)
java8.util.concurrent.CompletableFuture<java.lang.Void>
delete(java.lang.String collection, java.lang.String id)
java8.util.concurrent.CompletableFuture<CollectionData>
get(java.lang.String collection, java.lang.String id)
<T> java8.util.concurrent.CompletableFuture<T>
getCustom(java.lang.Class<T> type, java.lang.String collection, java.lang.String id)
java8.util.concurrent.CompletableFuture<CollectionData>
update(java.lang.String collection, CollectionData item)
java8.util.concurrent.CompletableFuture<CollectionData>
update(java.lang.String userID, java.lang.String collection, CollectionData item)
<T> java8.util.concurrent.CompletableFuture<T>
updateCustom(java.lang.String userID, java.lang.String collection, T item)
<T> java8.util.concurrent.CompletableFuture<T>
updateCustom(java.lang.String collection, T item)
-
-
-
Method Detail
-
addCustom
public <T> java8.util.concurrent.CompletableFuture<T> addCustom(java.lang.String collection, T item) throws StreamException
- Throws:
StreamException
-
addCustom
public <T> java8.util.concurrent.CompletableFuture<T> addCustom(java.lang.String userID, java.lang.String collection, T item) throws StreamException
- Throws:
StreamException
-
add
public java8.util.concurrent.CompletableFuture<CollectionData> add(java.lang.String collection, CollectionData item) throws StreamException
- Throws:
StreamException
-
add
public java8.util.concurrent.CompletableFuture<CollectionData> add(java.lang.String userID, java.lang.String collection, CollectionData item) throws StreamException
- Throws:
StreamException
-
updateCustom
public <T> java8.util.concurrent.CompletableFuture<T> updateCustom(java.lang.String collection, T item) throws StreamException
- Throws:
StreamException
-
updateCustom
public <T> java8.util.concurrent.CompletableFuture<T> updateCustom(java.lang.String userID, java.lang.String collection, T item) throws StreamException
- Throws:
StreamException
-
update
public java8.util.concurrent.CompletableFuture<CollectionData> update(java.lang.String collection, CollectionData item) throws StreamException
- Throws:
StreamException
-
update
public java8.util.concurrent.CompletableFuture<CollectionData> update(java.lang.String userID, java.lang.String collection, CollectionData item) throws StreamException
- Throws:
StreamException
-
getCustom
public <T> java8.util.concurrent.CompletableFuture<T> getCustom(java.lang.Class<T> type, java.lang.String collection, java.lang.String id) throws StreamException
- Throws:
StreamException
-
get
public java8.util.concurrent.CompletableFuture<CollectionData> get(java.lang.String collection, java.lang.String id) throws StreamException
- Throws:
StreamException
-
delete
public java8.util.concurrent.CompletableFuture<java.lang.Void> delete(java.lang.String collection, java.lang.String id) throws StreamException
- Throws:
StreamException
-
-