StructuredAggregationQuery

com.google.firestore.v1.query.StructuredAggregationQuery
See theStructuredAggregationQuery companion class
object StructuredAggregationQuery extends GeneratedMessageCompanion[StructuredAggregationQuery]

Attributes

Companion
class
Source
StructuredAggregationQuery.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[StructuredAggregationQuery]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

final case class Aggregation(operator: Operator, alias: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Aggregation]

Defines an aggregation that produces a single result.

Defines an aggregation that produces a single result.

Value parameters

alias

Optional. Optional name of the field to store the result of the aggregation into. If not provided, Firestore will pick a default name following the format field_<incremental_id++>. For example: AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) OVER ( ... ); becomes: AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS field_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS field_2 OVER ( ... ); Requires: * Must be unique across all aggregation aliases. * Conform to [document field name][google.firestore.v1.Document.fields] limitations.

Attributes

Companion
object
Source
StructuredAggregationQuery.scala
Supertypes
trait Updatable[Aggregation]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Aggregation extends GeneratedMessageCompanion[Aggregation]

Attributes

Companion
class
Source
StructuredAggregationQuery.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Aggregation]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object QueryType

Attributes

Companion
trait
Source
StructuredAggregationQuery.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
QueryType.type
sealed trait QueryType extends GeneratedOneof

Attributes

Companion
object
Source
StructuredAggregationQuery.scala
Supertypes
trait GeneratedOneof
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Empty
implicit class StructuredAggregationQueryLens[UpperPB](_l: Lens[UpperPB, StructuredAggregationQuery]) extends ObjectLens[UpperPB, StructuredAggregationQuery]

Attributes

Source
StructuredAggregationQuery.scala
Supertypes
class ObjectLens[UpperPB, StructuredAggregationQuery]
trait Lens[UpperPB, StructuredAggregationQuery]
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def javaDescriptor: Descriptor

Returns the Java descriptors for this message.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
StructuredAggregationQuery.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]
def of(queryType: QueryType, aggregations: Seq[Aggregation]): StructuredAggregationQuery
def parseFrom(`_input__`: CodedInputStream): StructuredAggregationQuery

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source
StructuredAggregationQuery.scala
def scalaDescriptor: Descriptor

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def merge(a: StructuredAggregationQuery, input: CodedInputStream): StructuredAggregationQuery

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: InputStream): Option[StructuredAggregationQuery]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: CodedInputStream): Option[StructuredAggregationQuery]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(s: Array[Byte]): StructuredAggregationQuery

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): StructuredAggregationQuery

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def streamFromDelimitedInput(input: InputStream): Stream[StructuredAggregationQuery]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validate(s: Array[Byte]): Try[StructuredAggregationQuery]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validateAscii(s: String): Either[TextFormatError, StructuredAggregationQuery]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

final implicit def StructuredAggregationQueryLens[UpperPB](_l: Lens[UpperPB, StructuredAggregationQuery]): StructuredAggregationQueryLens[UpperPB]
implicit def messageCompanion: GeneratedMessageCompanion[StructuredAggregationQuery]