Skip to content

Latest commit

 

History

History
87 lines (57 loc) · 1.49 KB

AggregateBuilder.md

File metadata and controls

87 lines (57 loc) · 1.49 KB

AggregateBuilder Class

Creates Aggregate objects from ProtoAggregates

Since

3/23/2024

Author Zackary Frazier

Methods

build()

Remove the fields that are not in the select clause

Signature

public List<Aggregate> build()

Return Type

List<Aggregate>

The cleaned up aggregate result list


setParams(params)

sets the params

Signature

public AggregateBuilder setParams(Map<String,Object> params)

Parameters

Name Type Description
params Map<String,Object> the bind params

Return Type

AggregateBuilder

the aggregate builder


setProtoAggregates(protoAggregates)

Setter for proto-aggregates

Signature

public AggregateBuilder setProtoAggregates(List<ProtoAggregate> protoAggregates)

Parameters

Name Type Description
protoAggregates List<ProtoAggregate> the proto-aggregates

Return Type

AggregateBuilder

the aggregate builder


setTopLevelNodes(topLevelNodes)

sets the top level nodes

Signature

public AggregateBuilder setTopLevelNodes(TopLevelNodes topLevelNodes)

Parameters

Name Type Description
topLevelNodes TopLevelNodes the top level nodes

Return Type

AggregateBuilder

the aggregate builder