mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-13 14:48:54 +02:00
![twitter-team](/assets/img/avatar_default.png)
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.
15 lines
538 B
Thrift
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')
|