Interface BucketSpecHandler<SPEC_TYPE extends BucketSpec,AGGREGATION_BUILDER,QUERY_CONTEXT>

Type Parameters:
SPEC_TYPE - the type of bucket spec this handler deals with
AGGREGATION_BUILDER - implementation specific type for building up the aggregation when generating a backend query
QUERY_CONTEXT - an opaque context object to pass around information between query generation and result handling

public interface BucketSpecHandler<SPEC_TYPE extends BucketSpec,AGGREGATION_BUILDER,QUERY_CONTEXT>
Implementations of this class contribute handlers for buckets concrete implementations of the pivot search type.