Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ public final BuilderT acknowledged(boolean value) {
return self();
}

protected AbstractBuilder() {
}

protected AbstractBuilder(AcknowledgedResponseBase instance) {
this.acknowledged = instance.acknowledged;

}

protected abstract BuilderT self();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,19 @@ public final BuilderT transportAddress(String value) {
return self();
}

protected AbstractBuilder() {
}

protected AbstractBuilder(BaseNode instance) {
this.attributes = instance.attributes;
this.host = instance.host;
this.ip = instance.ip;
this.name = instance.name;
this.roles = instance.roles;
this.transportAddress = instance.transportAddress;

}

protected abstract BuilderT self();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(DiversifyRetriever instance) {
super(instance);
this.type = instance.type;
this.field = instance.field;
this.retriever = instance.retriever;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ private Builder(FieldSort instance) {
this.unmappedType = instance.unmappedType;
this.numericType = instance.numericType;
this.format = instance.format;
this.field = instance.field;

}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ private Builder(GeoDistanceSort instance) {
this.order = instance.order;
this.unit = instance.unit;
this.nested = instance.nested;
this.field = instance.field;
this.location = instance.location;

}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@ public final BuilderT shards(Function<ShardStatistics.Builder, ObjectBuilder<Sha
return this.shards(fn.apply(new ShardStatistics.Builder()).build());
}

protected AbstractBuilder() {
}

protected AbstractBuilder(IndicesResponseBase instance) {
super(instance);
this.shards = instance.shards;

}

}

// ---------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ private Builder(InlineGet<TDocument> instance) {
this.primaryTerm = instance.primaryTerm;
this.routing = instance.routing;
this.source = instance.source;
this.tDocumentSerializer = instance.tDocumentSerializer;
this.metadata = instance.metadata;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ public static class Builder extends QueryBase.AbstractBuilder<Builder> implement
public Builder() {
}
private Builder(KnnQuery instance) {
super(instance);
this.field = instance.field;
this.queryVector = instance.queryVector;
this.queryVectorBuilder = instance.queryVectorBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder> imple
public Builder() {
}
private Builder(KnnRetriever instance) {
super(instance);
this.field = instance.field;
this.queryVector = instance.queryVector;
this.queryVectorBuilder = instance.queryVectorBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(LinearRetriever instance) {
super(instance);
this.retrievers = instance.retrievers;
this.rankWindowSize = instance.rankWindowSize;
this.query = instance.query;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(PinnedRetriever instance) {
super(instance);
this.retriever = instance.retriever;
this.ids = instance.ids;
this.docs = instance.docs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder> imple
public Builder() {
}
private Builder(RRFRetriever instance) {
super(instance);
this.retrievers = instance.retrievers;
this.rankConstant = instance.rankConstant;
this.rankWindowSize = instance.rankWindowSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(RescorerRetriever instance) {
super(instance);
this.retriever = instance.retriever;
this.rescore = instance.rescore;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,16 @@ public final BuilderT name(@Nullable String value) {
return self();
}

protected AbstractBuilder() {
}

protected AbstractBuilder(RetrieverBase instance) {
this.filter = instance.filter;
this.minScore = instance.minScore;
this.name = instance.name;

}

protected abstract BuilderT self();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder> imple
public Builder() {
}
private Builder(RuleRetriever instance) {
super(instance);
this.rulesetIds = instance.rulesetIds;
this.matchCriteria = instance.matchCriteria;
this.retriever = instance.retriever;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public Builder() {
}
private Builder(ScoreSort instance) {
this.order = instance.order;
this._sortOptionsKind = instance._sortOptionsKind;

}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ public final BuilderT shards(Function<ShardStatistics.Builder, ObjectBuilder<Sha
return this.shards(fn.apply(new ShardStatistics.Builder()).build());
}

protected AbstractBuilder() {
}

protected AbstractBuilder(ShardsOperationResponseBase instance) {
this.shards = instance.shards;

}

protected abstract BuilderT self();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(StandardRetriever instance) {
super(instance);
this.query = instance.query;
this.searchAfter = instance.searchAfter;
this.terminateAfter = instance.terminateAfter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ public static class Builder extends RetrieverBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(TextSimilarityReranker instance) {
super(instance);
this.retriever = instance.retriever;
this.rankWindowSize = instance.rankWindowSize;
this.inferenceId = instance.inferenceId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,22 @@ public final BuilderT forcedRefresh(@Nullable Boolean value) {
return self();
}

protected AbstractBuilder() {
}

protected AbstractBuilder(WriteResponseBase instance) {
this.id = instance.id;
this.index = instance.index;
this.primaryTerm = instance.primaryTerm;
this.result = instance.result;
this.seqNo = instance.seqNo;
this.shards = instance.shards;
this.version = instance.version;
this.failureStore = instance.failureStore;
this.forcedRefresh = instance.forcedRefresh;

}

protected abstract BuilderT self();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ public final BuilderT changePoint(int value) {
return self();
}

protected AbstractBuilder() {
}

protected AbstractBuilder(AbstractChangePoint instance) {
this.pValue = instance.pValue;
this.changePoint = instance.changePoint;

}

protected abstract BuilderT self();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public static class Builder extends MultiBucketAggregateBase.AbstractBuilder<Adj
public Builder() {
}
private Builder(AdjacencyMatrixAggregate instance) {
super(instance);

}
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public static class Builder extends MultiBucketBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(AdjacencyMatrixBucket instance) {
super(instance);
this.key = instance.key;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ public final BuilderT meta(String key, JsonData value) {
return self();
}

protected AbstractBuilder() {
}

protected AbstractBuilder(AggregateBase instance) {
this.meta = instance.meta;

}

protected abstract BuilderT self();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public static class Builder extends MultiBucketAggregateBase.AbstractBuilder<Dat
public Builder() {
}
private Builder(AutoDateHistogramAggregate instance) {
super(instance);
this.interval = instance.interval;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public static class Builder extends FormatMetricAggregationBase.AbstractBuilder<
public Builder() {
}
private Builder(AverageAggregation instance) {
super(instance);

}
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public static class Builder extends PipelineAggregationBase.AbstractBuilder<Buil
public Builder() {
}
private Builder(AverageBucketAggregation instance) {
super(instance);

}
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public static class Builder extends SingleMetricAggregateBase.AbstractBuilder<Bu
public Builder() {
}
private Builder(AvgAggregate instance) {
super(instance);

}
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ public static class Builder extends AggregateBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(BoxPlotAggregate instance) {
super(instance);
this.min = instance.min;
this.max = instance.max;
this.q1 = instance.q1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public static class Builder extends MetricAggregationBase.AbstractBuilder<Builde
public Builder() {
}
private Builder(BoxplotAggregation instance) {
super(instance);
this.compression = instance.compression;
this.executionHint = instance.executionHint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public static class Builder extends BucketPathAggregation.AbstractBuilder<Builde
public Builder() {
}
private Builder(BucketCorrelationAggregation instance) {
super(instance);
this.function = instance.function;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ public static class Builder extends BucketPathAggregation.AbstractBuilder<Builde
public Builder() {
}
private Builder(BucketKsAggregation instance) {
super(instance);
this.alternative = instance.alternative;
this.fractions = instance.fractions;
this.samplingMethod = instance.samplingMethod;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public static class Builder extends SingleMetricAggregateBase.AbstractBuilder<Bu
public Builder() {
}
private Builder(BucketMetricValueAggregate instance) {
super(instance);
this.keys = instance.keys;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@ public final BuilderT bucketsPath(Function<BucketsPath.Builder, ObjectBuilder<Bu
return this.bucketsPath(fn.apply(new BucketsPath.Builder()).build());
}

protected AbstractBuilder() {
}

protected AbstractBuilder(BucketPathAggregation instance) {
this.bucketsPath = instance.bucketsPath;

}

protected abstract BuilderT self();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public static class Builder extends PipelineAggregationBase.AbstractBuilder<Buil
public Builder() {
}
private Builder(BucketScriptAggregation instance) {
super(instance);
this.script = instance.script;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public static class Builder extends PipelineAggregationBase.AbstractBuilder<Buil
public Builder() {
}
private Builder(BucketSelectorAggregation instance) {
super(instance);
this.script = instance.script;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public static class Builder extends AggregateBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(CardinalityAggregate instance) {
super(instance);
this.value = instance.value;

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public static class Builder extends MetricAggregationBase.AbstractBuilder<Builde
public Builder() {
}
private Builder(CardinalityAggregation instance) {
super(instance);
this.precisionThreshold = instance.precisionThreshold;
this.rehash = instance.rehash;
this.executionHint = instance.executionHint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public static class Builder extends AggregateBase.AbstractBuilder<Builder>
public Builder() {
}
private Builder(CartesianBoundsAggregate instance) {
super(instance);
this.bounds = instance.bounds;

}
Expand Down
Loading
Loading