Package io.getstream.client
Class CollectionsClient
- java.lang.Object
-
- io.getstream.client.CollectionsClient
-
public final class CollectionsClient 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<java.lang.Void>
deleteMany(java.lang.String collection, java.lang.Iterable<java.lang.String> ids)
java8.util.concurrent.CompletableFuture<java.lang.Void>
deleteMany(java.lang.String collection, java.lang.String... ids)
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<java.util.List<CollectionData>>
select(java.lang.String collection, java.lang.Iterable<java.lang.String> ids)
java8.util.concurrent.CompletableFuture<java.util.List<CollectionData>>
select(java.lang.String collection, java.lang.String... ids)
<T> java8.util.concurrent.CompletableFuture<java.util.List<T>>
selectCustom(java.lang.Class<T> type, java.lang.String collection, java.lang.Iterable<java.lang.String> ids)
<T> java8.util.concurrent.CompletableFuture<java.util.List<T>>
selectCustom(java.lang.Class<T> type, java.lang.String collection, java.lang.String... ids)
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)
java8.util.concurrent.CompletableFuture<java.lang.Void>
upsert(java.lang.String collection, CollectionData... items)
java8.util.concurrent.CompletableFuture<java.lang.Void>
upsert(java.lang.String collection, java.lang.Iterable<CollectionData> items)
<T> java8.util.concurrent.CompletableFuture<java.lang.Void>
upsertCustom(java.lang.String collection, java.lang.Iterable<T> items)
<T> java8.util.concurrent.CompletableFuture<java.lang.Void>
upsertCustom(java.lang.String collection, T... items)
-
-
-
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
-
upsertCustom
public <T> java8.util.concurrent.CompletableFuture<java.lang.Void> upsertCustom(java.lang.String collection, java.lang.Iterable<T> items) throws StreamException
- Throws:
StreamException
-
upsertCustom
public <T> java8.util.concurrent.CompletableFuture<java.lang.Void> upsertCustom(java.lang.String collection, T... items) throws StreamException
- Throws:
StreamException
-
upsert
public java8.util.concurrent.CompletableFuture<java.lang.Void> upsert(java.lang.String collection, java.lang.Iterable<CollectionData> items) throws StreamException
- Throws:
StreamException
-
upsert
public java8.util.concurrent.CompletableFuture<java.lang.Void> upsert(java.lang.String collection, CollectionData... items) 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
-
selectCustom
public <T> java8.util.concurrent.CompletableFuture<java.util.List<T>> selectCustom(java.lang.Class<T> type, java.lang.String collection, java.lang.Iterable<java.lang.String> ids) throws StreamException
- Throws:
StreamException
-
selectCustom
public <T> java8.util.concurrent.CompletableFuture<java.util.List<T>> selectCustom(java.lang.Class<T> type, java.lang.String collection, java.lang.String... ids) throws StreamException
- Throws:
StreamException
-
select
public java8.util.concurrent.CompletableFuture<java.util.List<CollectionData>> select(java.lang.String collection, java.lang.Iterable<java.lang.String> ids) throws StreamException
- Throws:
StreamException
-
select
public java8.util.concurrent.CompletableFuture<java.util.List<CollectionData>> select(java.lang.String collection, java.lang.String... ids) 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
-
deleteMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> deleteMany(java.lang.String collection, java.lang.Iterable<java.lang.String> ids) throws StreamException
- Throws:
StreamException
-
deleteMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> deleteMany(java.lang.String collection, java.lang.String... ids) throws StreamException
- Throws:
StreamException
-
-