Package io.getstream.client
Class BatchClient
- java.lang.Object
-
- io.getstream.client.BatchClient
-
public final class BatchClient extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java8.util.concurrent.CompletableFuture<java.lang.Void>
addToMany(Activity activity, FeedID... feeds)
java8.util.concurrent.CompletableFuture<java.lang.Void>
followMany(int activityCopyLimit, FollowRelation... follows)
java8.util.concurrent.CompletableFuture<java.lang.Void>
followMany(int activityCopyLimit, java.lang.Iterable<FollowRelation> follows)
java8.util.concurrent.CompletableFuture<java.lang.Void>
followMany(FollowRelation... follows)
java8.util.concurrent.CompletableFuture<java.lang.Void>
followMany(java.lang.Iterable<FollowRelation> follows)
java8.util.concurrent.CompletableFuture<java.util.List<Activity>>
getActivitiesByForeignID(ForeignIDTimePair... activityIDTimePairs)
java8.util.concurrent.CompletableFuture<java.util.List<Activity>>
getActivitiesByForeignID(java.lang.Iterable<ForeignIDTimePair> activityIDTimePairs)
java8.util.concurrent.CompletableFuture<java.util.List<Activity>>
getActivitiesByID(java.lang.Iterable<java.lang.String> activityIDs)
java8.util.concurrent.CompletableFuture<java.util.List<Activity>>
getActivitiesByID(java.lang.String... activityIDs)
java8.util.concurrent.CompletableFuture<java.util.List<EnrichedActivity>>
getEnrichedActivitiesByForeignID(ForeignIDTimePair... activityIDTimePairs)
java8.util.concurrent.CompletableFuture<java.util.List<EnrichedActivity>>
getEnrichedActivitiesByForeignID(java.lang.Iterable<ForeignIDTimePair> activityIDTimePairs)
java8.util.concurrent.CompletableFuture<java.util.List<EnrichedActivity>>
getEnrichedActivitiesByID(java.lang.Iterable<java.lang.String> activityIDs)
java8.util.concurrent.CompletableFuture<java.util.List<EnrichedActivity>>
getEnrichedActivitiesByID(java.lang.String... activityIDs)
java8.util.concurrent.CompletableFuture<java.lang.Void>
unfollowMany(KeepHistory keepHistory, FollowRelation... follows)
java8.util.concurrent.CompletableFuture<java.lang.Void>
unfollowMany(FollowRelation... follows)
java8.util.concurrent.CompletableFuture<java.lang.Void>
unfollowMany(UnfollowOperation... unfollows)
java8.util.concurrent.CompletableFuture<java.lang.Void>
updateActivities(Activity... activities)
java8.util.concurrent.CompletableFuture<java.lang.Void>
updateActivities(java.lang.Iterable<Activity> activities)
-
-
-
Method Detail
-
addToMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> addToMany(Activity activity, FeedID... feeds) throws StreamException
- Throws:
StreamException
-
followMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> followMany(int activityCopyLimit, FollowRelation... follows) throws StreamException
- Throws:
StreamException
-
followMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> followMany(int activityCopyLimit, java.lang.Iterable<FollowRelation> follows) throws StreamException
- Throws:
StreamException
-
followMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> followMany(FollowRelation... follows) throws StreamException
- Throws:
StreamException
-
followMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> followMany(java.lang.Iterable<FollowRelation> follows) throws StreamException
- Throws:
StreamException
-
unfollowMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> unfollowMany(FollowRelation... follows) throws StreamException
- Throws:
StreamException
-
unfollowMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> unfollowMany(KeepHistory keepHistory, FollowRelation... follows) throws StreamException
- Throws:
StreamException
-
unfollowMany
public java8.util.concurrent.CompletableFuture<java.lang.Void> unfollowMany(UnfollowOperation... unfollows) throws StreamException
- Throws:
StreamException
-
getActivitiesByID
public java8.util.concurrent.CompletableFuture<java.util.List<Activity>> getActivitiesByID(java.lang.Iterable<java.lang.String> activityIDs) throws StreamException
- Throws:
StreamException
-
getActivitiesByID
public java8.util.concurrent.CompletableFuture<java.util.List<Activity>> getActivitiesByID(java.lang.String... activityIDs) throws StreamException
- Throws:
StreamException
-
getEnrichedActivitiesByID
public java8.util.concurrent.CompletableFuture<java.util.List<EnrichedActivity>> getEnrichedActivitiesByID(java.lang.Iterable<java.lang.String> activityIDs) throws StreamException
- Throws:
StreamException
-
getEnrichedActivitiesByID
public java8.util.concurrent.CompletableFuture<java.util.List<EnrichedActivity>> getEnrichedActivitiesByID(java.lang.String... activityIDs) throws StreamException
- Throws:
StreamException
-
getActivitiesByForeignID
public java8.util.concurrent.CompletableFuture<java.util.List<Activity>> getActivitiesByForeignID(java.lang.Iterable<ForeignIDTimePair> activityIDTimePairs) throws StreamException
- Throws:
StreamException
-
getActivitiesByForeignID
public java8.util.concurrent.CompletableFuture<java.util.List<Activity>> getActivitiesByForeignID(ForeignIDTimePair... activityIDTimePairs) throws StreamException
- Throws:
StreamException
-
getEnrichedActivitiesByForeignID
public java8.util.concurrent.CompletableFuture<java.util.List<EnrichedActivity>> getEnrichedActivitiesByForeignID(java.lang.Iterable<ForeignIDTimePair> activityIDTimePairs) throws StreamException
- Throws:
StreamException
-
getEnrichedActivitiesByForeignID
public java8.util.concurrent.CompletableFuture<java.util.List<EnrichedActivity>> getEnrichedActivitiesByForeignID(ForeignIDTimePair... activityIDTimePairs) throws StreamException
- Throws:
StreamException
-
updateActivities
public java8.util.concurrent.CompletableFuture<java.lang.Void> updateActivities(java.lang.Iterable<Activity> activities) throws StreamException
- Throws:
StreamException
-
updateActivities
public java8.util.concurrent.CompletableFuture<java.lang.Void> updateActivities(Activity... activities) throws StreamException
- Throws:
StreamException
-
-