mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-02 17:28:45 +02:00
ef4c5eb65e
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
549 B
Scala
15 lines
549 B
Scala
package com.twitter.interaction_graph.injection
|
|
|
|
import com.twitter.interaction_graph.thriftscala.EdgeList
|
|
import com.twitter.scalding_internal.multiformat.format.keyval.KeyValInjection
|
|
import com.twitter.scalding_internal.multiformat.format.keyval.KeyValInjection.Long2BigEndian
|
|
import com.twitter.scalding_internal.multiformat.format.keyval.KeyValInjection.ScalaCompactThrift
|
|
|
|
object EdgeListInjection {
|
|
final val injection: KeyValInjection[Long, EdgeList] =
|
|
KeyValInjection(
|
|
Long2BigEndian,
|
|
ScalaCompactThrift(EdgeList)
|
|
)
|
|
}
|