mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-13 06:38:52 +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
519 B
Scala
15 lines
519 B
Scala
package com.twitter.product_mixer.core.functional_component.decorator.urt.builder.item.tweet
|
|
|
|
import com.twitter.product_mixer.component_library.model.candidate.BaseTweetCandidate
|
|
import com.twitter.product_mixer.core.feature.featuremap.FeatureMap
|
|
import com.twitter.product_mixer.core.pipeline.PipelineQuery
|
|
|
|
trait BaseEntryIdToReplaceBuilder[-Query <: PipelineQuery, -Candidate <: BaseTweetCandidate] {
|
|
|
|
def apply(
|
|
query: Query,
|
|
candidate: Candidate,
|
|
candidateFeatures: FeatureMap
|
|
): Option[String]
|
|
}
|