Class MultiBucketBase.AbstractBuilder<BuilderT extends MultiBucketBase.AbstractBuilder<BuilderT>>

    • Field Detail

      • aggregations

        @Nullable
        protected java.util.Map<java.lang.String,​Aggregate> aggregations
    • Constructor Detail

      • AbstractBuilder

        protected AbstractBuilder()
    • Method Detail

      • aggregations

        public final BuilderT aggregations​(java.util.Map<java.lang.String,​Aggregate> map)
        Nested aggregations

        Adds all entries of map to aggregations.

      • aggregations

        public final BuilderT aggregations​(java.lang.String key,
                                           Aggregate value)
        Nested aggregations

        Adds an entry to aggregations.

      • docCount

        public final BuilderT docCount​(long value)
        Required - API name: doc_count
      • self

        protected abstract BuilderT self()