1414
1515package com.google.firebase.firestore.pipeline
1616
17- import com.google.common.annotations.Beta
1817import com.google.firebase.firestore.UserDataReader
1918import com.google.firebase.firestore.VectorValue
2019import com.google.firebase.firestore.model.Document
@@ -31,7 +30,6 @@ import com.google.firestore.v1.Pipeline
3130import com.google.firestore.v1.Value
3231import javax.annotation.Nonnull
3332
34- @Beta
3533sealed class Stage <T : Stage <T >>(internal val name : String , internal val options : InternalOptions ) {
3634 internal fun toProtoStage (userDataReader : UserDataReader ): Pipeline .Stage {
3735 val builder = Pipeline .Stage .newBuilder()
@@ -110,7 +108,6 @@ sealed class Stage<T : Stage<T>>(internal val name: String, internal val options
110108 * This class provides a way to call stages that are supported by the Firestore backend but that are
111109 * not implemented in the SDK version being used.
112110 */
113- @Beta
114111class RawStage
115112private constructor (
116113 name: String ,
@@ -205,7 +202,6 @@ internal constructor(options: InternalOptions = InternalOptions.EMPTY) :
205202 }
206203}
207204
208- @Beta
209205class CollectionSource
210206internal constructor (
211207 internal val path: ResourcePath ,
@@ -253,7 +249,6 @@ internal constructor(
253249 }
254250}
255251
256- @Beta
257252class CollectionSourceOptions internal constructor(options : InternalOptions ) :
258253 AbstractOptions <CollectionSourceOptions >(options) {
259254 /* * Creates a new, empty `CollectionSourceOptions` object. */
@@ -272,7 +267,6 @@ class CollectionSourceOptions internal constructor(options: InternalOptions) :
272267 }
273268}
274269
275- @Beta
276270class CollectionHints internal constructor(options : InternalOptions ) :
277271 AbstractOptions <CollectionHints >(options) {
278272 /* * Creates a new, empty `CollectionHints` object. */
@@ -303,7 +297,6 @@ class CollectionHints internal constructor(options: InternalOptions) :
303297 }
304298}
305299
306- @Beta
307300class CollectionGroupSource
308301internal constructor (val collectionId: String , options: InternalOptions ) :
309302 Stage <CollectionGroupSource >(" collection_group" , options) {
@@ -344,7 +337,6 @@ internal constructor(val collectionId: String, options: InternalOptions) :
344337 }
345338}
346339
347- @Beta
348340class CollectionGroupOptions internal constructor(options : InternalOptions ) :
349341 AbstractOptions <CollectionGroupOptions >(options) {
350342 /* * Creates a new, empty `CollectionGroupOptions` object. */
@@ -473,7 +465,6 @@ internal constructor(
473465 * [AggregateFunction.alias] on [AggregateFunction] instances. Each aggregation calculates a value
474466 * (e.g., sum, average, count) based on the documents within its group.
475467 */
476- @Beta
477468class AggregateStage
478469private constructor (
479470 private val accumulators: Map <String , AggregateFunction >,
@@ -574,7 +565,6 @@ private constructor(
574565 }
575566}
576567
577- @Beta
578568class AggregateHints internal constructor(options : InternalOptions ) :
579569 AbstractOptions <AggregateHints >(options) {
580570 /* * Creates a new, empty `AggregateHints` object. */
@@ -589,7 +579,6 @@ class AggregateHints internal constructor(options: InternalOptions) :
589579 }
590580}
591581
592- @Beta
593582class AggregateOptions internal constructor(options : InternalOptions ) :
594583 AbstractOptions <AggregateOptions >(options) {
595584 /* * Creates a new, empty `AggregateOptions` object. */
@@ -648,7 +637,6 @@ internal constructor(
648637 * Performs a vector similarity search, ordering the result set by most similar to least similar,
649638 * and returning the first N documents in the result set.
650639 */
651- @Beta
652640class FindNearestStage
653641internal constructor (
654642 private val property: Expression ,
@@ -795,7 +783,6 @@ internal constructor(
795783 }
796784}
797785
798- @Beta
799786class FindNearestOptions private constructor(options : InternalOptions ) :
800787 AbstractOptions <FindNearestOptions >(options) {
801788 /* * Creates a new, empty `FindNearestOptions` object. */
@@ -1128,7 +1115,6 @@ internal constructor(
11281115 * dictate how the sample is calculated either by specifying a target output size, or by specifying
11291116 * a target percentage of the input size.
11301117 */
1131- @Beta
11321118class SampleStage
11331119private constructor (
11341120 private val size: Number ,
@@ -1228,7 +1214,6 @@ internal constructor(
12281214 * Takes a specified array from the input documents and outputs a document for each element with the
12291215 * element stored in a field with name specified by the alias.
12301216 */
1231- @Beta
12321217class UnnestStage
12331218internal constructor (
12341219 private val selectable: Selectable ,
@@ -1302,7 +1287,6 @@ internal constructor(
13021287 fun withIndexField (indexField : String ): UnnestStage = withOption(" index_field" , indexField)
13031288}
13041289
1305- @Beta
13061290class UnnestOptions private constructor(options : InternalOptions ) :
13071291 AbstractOptions <UnnestOptions >(options) {
13081292 /* * Creates a new, empty `UnnestOptions` object. */
0 commit comments