com.enonic.xp.query.aggregation.AggregationQuery Maven / Gradle / Ivy
package com.enonic.xp.query.aggregation;
import com.enonic.xp.annotation.PublicApi;
@PublicApi
public abstract class AggregationQuery
{
private final String name;
AggregationQuery( final Builder builder )
{
this.name = builder.name;
}
public String getName()
{
return name;
}
public static class Builder
{
private String name;
public Builder( final String name )
{
this.name = name;
}
@SuppressWarnings("unchecked")
public T name( final String name )
{
this.name = name;
return (T) this;
}
}
}