Skip to content

Commit

Permalink
Fix scaladoc links (#5022)
Browse files Browse the repository at this point in the history
  • Loading branch information
kellen authored Oct 6, 2023
1 parent ab93b71 commit c3725ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/src/main/paradox/Builtin.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ val windowedElements: SCollection[String] = elements.withFixedWindows(Duration.s

## Batching

In cases where some transform performs better on a group of items, elements can be batched by number of elements with [`batch`](com.spotify.scio.values.SCollection#batch(batchSize:Long,maxLiveWindows:Int):com.spotify.scio.values.SCollection[Iterable[T]]), by the size of the elements with [`batchByteSized`](com.spotify.scio.values.SCollection#batchByteSized(batchByteSize:Long,maxLiveWindows:Int):com.spotify.scio.values.SCollection[Iterable[T]]), or by some user-defined weight with [`batchWeighted`](com.spotify.scio.values.SCollection#batchWeighted(batchWeight:Long,cost:T=%3ELong,maxLiveWindows:Int):com.spotify.scio.values.SCollection[Iterable[T]]).
There are also keyed variants of each of these: [`batchByKey`](com.spotify.scio.values.PairSCollectionFunctions#batchByKey(batchSize:Long,maxBufferingDuration:org.joda.time.Duration):com.spotify.scio.values.SCollection[(K,Iterable[V])]), [`batchByteSizedByKey`](com.spotify.scio.values.PairSCollectionFunctions#batchByteSizedByKey(batchByteSize:Long,maxBufferingDuration:org.joda.time.Duration):com.spotify.scio.values.SCollection[(K,Iterable[V])]), and [`batchWeightedByKey`](com.spotify.scio.values.PairSCollectionFunctions#batchWeightedByKey(weight:Long,cost:V=%3ELong,maxBufferingDuration:org.joda.time.Duration):com.spotify.scio.values.SCollection[(K,Iterable[V])]).
In cases where some transform performs better on a group of items, elements can be batched by number of elements with @scaladoc[`batch`](com.spotify.scio.values.SCollection#batch(batchSize:Long,maxLiveWindows:Int):com.spotify.scio.values.SCollection[Iterable[T]]), by the size of the elements with @scaladoc[`batchByteSized`](com.spotify.scio.values.SCollection#batchByteSized(batchByteSize:Long,maxLiveWindows:Int):com.spotify.scio.values.SCollection[Iterable[T]]), or by some user-defined weight with @scaladoc[`batchWeighted`](com.spotify.scio.values.SCollection#batchWeighted(batchWeight:Long,cost:T=%3ELong,maxLiveWindows:Int):com.spotify.scio.values.SCollection[Iterable[T]]).
There are also keyed variants of each of these: @scaladoc[`batchByKey`](com.spotify.scio.values.PairSCollectionFunctions#batchByKey(batchSize:Long,maxBufferingDuration:org.joda.time.Duration):com.spotify.scio.values.SCollection[(K,Iterable[V])]), @scaladoc[`batchByteSizedByKey`](com.spotify.scio.values.PairSCollectionFunctions#batchByteSizedByKey(batchByteSize:Long,maxBufferingDuration:org.joda.time.Duration):com.spotify.scio.values.SCollection[(K,Iterable[V])]), and @scaladoc[`batchWeightedByKey`](com.spotify.scio.values.PairSCollectionFunctions#batchWeightedByKey(weight:Long,cost:V=%3ELong,maxBufferingDuration:org.joda.time.Duration):com.spotify.scio.values.SCollection[(K,Iterable[V])]).

```scala mdoc:compile-only
import com.spotify.scio._
Expand Down

0 comments on commit c3725ae

Please sign in to comment.