Packages

o

com.couchbase.spark.query

QueryAggregations

object QueryAggregations extends Logging

Helper object to deal with aggregations in N1QL/SQL++.

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryAggregations
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def convertAggregateExpressions(agg: Aggregation, schema: StructType): Seq[StructField]

    Converts a spark aggregation into a sequence of fields.

    Converts a spark aggregation into a sequence of fields. If empty the aggregation is not supported or something else went wrong.

    agg

    the aggregation to convert.

    returns

    a non-empty sequence if supported and present.

  2. def convertGroupByExpression(agg: Aggregation, schema: StructType): Seq[StructField]
  3. def supportsCompleteAggPushdown(agg: Aggregation): Boolean