Package io.getstream.core
Class StreamBatch
java.lang.Object
io.getstream.core.StreamBatch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava8.util.concurrent.CompletableFuture<Void>java8.util.concurrent.CompletableFuture<Void>followMany(Token token, int activityCopyLimit, FollowRelation... follows) getActivitiesByForeignID(Token token, ForeignIDTimePair... activityIDTimePairs) getActivitiesByID(Token token, String... activityIDs) java8.util.concurrent.CompletableFuture<List<EnrichedActivity>>getEnrichedActivitiesByForeignID(Token token, ForeignIDTimePair... activityIDTimePairs) java8.util.concurrent.CompletableFuture<List<EnrichedActivity>>getEnrichedActivitiesByID(Token token, EnrichmentFlags flags, String... activityIDs) java8.util.concurrent.CompletableFuture<Void>unfollowMany(Token token, UnfollowOperation... unfollows) java8.util.concurrent.CompletableFuture<Void>updateActivities(Token token, Activity... activities)
-
Constructor Details
-
StreamBatch
-
-
Method Details
-
addToMany
public java8.util.concurrent.CompletableFuture<Void> addToMany(Token token, Activity activity, FeedID... feeds) throws StreamException - Throws:
StreamException
-
followMany
public java8.util.concurrent.CompletableFuture<Void> followMany(Token token, int activityCopyLimit, FollowRelation... follows) throws StreamException - Throws:
StreamException
-
unfollowMany
public java8.util.concurrent.CompletableFuture<Void> unfollowMany(Token token, UnfollowOperation... unfollows) throws StreamException - Throws:
StreamException
-
getActivitiesByID
public java8.util.concurrent.CompletableFuture<List<Activity>> getActivitiesByID(Token token, String... activityIDs) throws StreamException - Throws:
StreamException
-
getEnrichedActivitiesByID
public java8.util.concurrent.CompletableFuture<List<EnrichedActivity>> getEnrichedActivitiesByID(Token token, EnrichmentFlags flags, String... activityIDs) throws StreamException - Throws:
StreamException
-
getActivitiesByForeignID
public java8.util.concurrent.CompletableFuture<List<Activity>> getActivitiesByForeignID(Token token, ForeignIDTimePair... activityIDTimePairs) throws StreamException - Throws:
StreamException
-
getEnrichedActivitiesByForeignID
public java8.util.concurrent.CompletableFuture<List<EnrichedActivity>> getEnrichedActivitiesByForeignID(Token token, ForeignIDTimePair... activityIDTimePairs) throws StreamException - Throws:
StreamException
-
updateActivities
public java8.util.concurrent.CompletableFuture<Void> updateActivities(Token token, Activity... activities) throws StreamException - Throws:
StreamException
-