the-algorithm/src/thrift/com/twitter/simclusters_v2/top_k_map.thrift
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
2023-03-31 17:36:31 -05:00

15 lines
538 B
Thrift

namespace java com.twitter.simclusters_v2.thriftjava
namespace py gen.twitter.simclusters_v2.top_k_map
#@namespace scala com.twitter.simclusters_v2.thriftscala
#@namespace strato com.twitter.simclusters_v2
include "com/twitter/algebird_internal/algebird.thrift"
struct TopKClusters {
1: required map<i32, algebird.DecayedValue> topK(personalDataTypeKey = 'InferredInterests')
}(hasPersonalData = 'true')
struct TopKTweets {
1: required map<i64, algebird.DecayedValue> topK(personalDataTypeKey='TweetId')
}(hasPersonalData = 'true')