Skip to content

Adjust @since annotation of classes moved to new package. #2014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -47,6 +47,7 @@
* @author Mohsin Husen
* @author Artur Konczak
* @author Peter-Josef Meisch
* @since 4.4
*/
class CriteriaFilterProcessor {

Original file line number Diff line number Diff line change
@@ -44,6 +44,7 @@
* @author Rasmus Faber-Espensen
* @author James Bodkin
* @author Peter-Josef Meisch
* @since 4.4
*/
class CriteriaQueryProcessor {

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
* AggregationContainer implementation for an Elasticsearch7 aggregation.
*
* @author Peter-Josef Meisch
* @since 4.3
* @since 4.4
*/
public class ElasticsearchAggregation implements AggregationContainer<Aggregation> {

Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
* AggregationsContainer implementation for the Elasticsearch7 aggregations.
*
* @author Peter-Josef Meisch
* @since 4.3
* @since 4.4
*/
public class ElasticsearchAggregations implements AggregationsContainer<Aggregations> {

Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@
* @author Peter-Josef Meisch
* @author Roman Puchkovskiy
* @author Mark Paluch
* @since 3.2
* @since 4.4
*/
public class ElasticsearchExceptionTranslator implements PersistenceExceptionTranslator {

Original file line number Diff line number Diff line change
@@ -113,6 +113,7 @@
* @author Gyula Attila Csorogi
* @author Massimiliano Poggi
* @author Farid Faoudi
* @since 4.4
*/
public class ElasticsearchRestTemplate extends AbstractElasticsearchTemplate {

Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@
* @author Russell Parry
* @author Thomas Geese
* @author Farid Faoudi
* @since 3.2
* @since 4.4
*/
public class ReactiveElasticsearchTemplate implements ReactiveElasticsearchOperations, ApplicationContextAware {

Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@
/**
* @author Peter-Josef Meisch
* @author George Popides
* @since 4.1
* @since 4.4
*/
class ReactiveIndexTemplate implements ReactiveIndexOperations {

Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@
* @author Farid Faoudi
* @author Peer Mueller
* @author vdisk
* @since 4.0
* @since 4.4
*/
// todo make package private again after refactoring
public class RequestFactory {
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@
*
* @author George Popides
* @author Peter-Josef Meisch
* @since 4.2
* @since 4.4
*/
public class ResponseConverter {
private ResponseConverter() {}
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@
* @author Peter-Josef Meisch
* @author Sascha Woo
* @author George Popides
* @since 4.0
* @since 4.4
*/
class RestIndexTemplate extends AbstractIndexTemplate implements IndexOperations {

Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
* Utility class to prevent leaking of Lucene API into Spring Data Elasticsearch.
*
* @author Peter-Josef Meisch
* @since 4.0
* @since 4.4
*/
public final class SearchHitsUtil {
private SearchHitsUtil() {}
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@
*
* @author Don Wellington
* @author Peter-Josef Meisch
* @since 4.4
*/
public class RestClientFactoryBean implements FactoryBean<RestHighLevelClient>, InitializingBean, DisposableBean {

Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@
* @author Henrique Amaral
* @author Peter-Josef Meisch
* @author Nic Hines
* @since 3.2
* @since 4.4
*/
public final class RestClients {

Original file line number Diff line number Diff line change
@@ -147,7 +147,7 @@
* @author Brian Clozel
* @author Farid Faoudi
* @author George Popides
* @since 3.2
* @since 4.4
* @see ClientConfiguration
* @see ReactiveRestClients
*/
Original file line number Diff line number Diff line change
@@ -17,6 +17,6 @@

/**
* @author Roman Puchkovskiy
* @since 4.0
* @since 4.4
*/
class DefaultRequestCreator implements RequestCreator {}
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@
* @author Christoph Strobl
* @author Peter-Josef Meisch
* @author Mark Paluch
* @since 3.2
* @since 4.4
*/
// todo make package private again after refactoring?
public class RawActionResponse extends ActionResponse {
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@
* @author Henrique Amaral
* @author Thomas Geese
* @author Farid Faoudi
* @since 3.2
* @since 4.4
* @see ClientConfiguration
* @see ReactiveRestClients
*/
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@
* @author Roman Puchkovskiy
* @author Farid Faoudi
* @author George Popides
* @since 4.0
* @since 4.4
*/
public interface RequestCreator {

Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@
* Only intended for internal use.
*
* @author Russell Parry
* @since 4.0
* @since 4.4
*/
public class NamedXContents {

Original file line number Diff line number Diff line change
@@ -119,7 +119,7 @@
* @author Christoph Strobl
* @author Peter-Josef Meisch
* @author Farid Faoudi
* @since 3.2
* @since 4.4
*/
@SuppressWarnings("JavadocReference")
public class RequestConverters {
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@
* Default implementation of {@link ClusterOperations} using the {@link ElasticsearchRestTemplate}.
*
* @author Peter-Josef Meisch
* @since 4.2
* @since 4.4
*/
class DefaultClusterOperations implements ClusterOperations {

Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@
* Default implementation of {@link ReactiveClusterOperations} using the {@link ReactiveElasticsearchOperations}.
*
* @author Peter-Josef Meisch
* @since 4.2
* @since 4.4
*/
public class DefaultReactiveClusterOperations implements ReactiveClusterOperations {
private final ReactiveElasticsearchOperations operations;
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@

/**
* @author Peter-Josef Meisch
* @since 4.3
* @since 4.4
*/
public class ElasticsearchClusterOperations {
/**
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
/**
* @author Christoph Strobl
* @author Peter-Josef Meisch
* @since 3.2
* @since 4.4
* @see ElasticsearchConfigurationSupport
*/
public abstract class AbstractElasticsearchConfiguration extends ElasticsearchConfigurationSupport {
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
/**
* @author Christoph Strobl
* @author Peter-Josef Meisch
* @since 3.2
* @since 4.4
* @see ElasticsearchConfigurationSupport
*/
public abstract class AbstractReactiveElasticsearchConfiguration extends ElasticsearchConfigurationSupport {
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@
* @author Peter-Josef Meisch
* @author Roman Puchkovskiy
* @author Matt Gilene
* @since 4.0
* @since 4.4
*/
public final class DocumentAdapters {

Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@
* created with the {@link #from(SearchResponse,Function)} method.
*
* @author Peter-Josef Meisch
* @since 4.0
* @since 4.4
*/
public class SearchDocumentResponse {

Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@
* Converts the {@link Highlight} annotation from a method to an Elasticsearch {@link HighlightBuilder}.
*
* @author Peter-Josef Meisch
* @since 4.4
*/
public class HighlightQueryBuilder {

Original file line number Diff line number Diff line change
@@ -43,6 +43,7 @@
* @author Jean-Baptiste Nizet
* @author Martin Choraine
* @author Peter-Josef Meisch
* @since 4.4
*/
public class NativeSearchQuery extends BaseQuery {

Original file line number Diff line number Diff line change
@@ -55,6 +55,7 @@
* @author Peter-Josef Meisch
* @author Peer Mueller
* @author vdisk
* @since 4.4
*/
public class NativeSearchQueryBuilder {

@@ -105,17 +106,11 @@ public NativeSearchQueryBuilder withSort(SortBuilder<?> sortBuilder) {
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withSorts(Collection<SortBuilder<?>> sortBuilders) {
this.sortBuilders.addAll(sortBuilders);
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withSorts(SortBuilder<?>... sortBuilders) {
Collections.addAll(this.sortBuilders, sortBuilders);
return this;
@@ -131,9 +126,6 @@ public NativeSearchQueryBuilder withCollapseField(String collapseField) {
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withCollapseBuilder(@Nullable CollapseBuilder collapseBuilder) {
this.collapseBuilder = collapseBuilder;
return this;
@@ -148,17 +140,11 @@ public NativeSearchQueryBuilder addAggregation(AbstractAggregationBuilder<?> agg
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withAggregations(Collection<AbstractAggregationBuilder<?>> aggregationBuilders) {
this.aggregationBuilders.addAll(aggregationBuilders);
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withAggregations(AbstractAggregationBuilder<?>... aggregationBuilders) {
Collections.addAll(this.aggregationBuilders, aggregationBuilders);
return this;
@@ -173,18 +159,12 @@ public NativeSearchQueryBuilder addAggregation(PipelineAggregationBuilder pipeli
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withPipelineAggregations(
Collection<PipelineAggregationBuilder> pipelineAggregationBuilders) {
this.pipelineAggregationBuilders.addAll(pipelineAggregationBuilders);
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withPipelineAggregations(PipelineAggregationBuilder... pipelineAggregationBuilders) {
Collections.addAll(this.pipelineAggregationBuilders, pipelineAggregationBuilders);
return this;
@@ -200,9 +180,6 @@ public NativeSearchQueryBuilder withHighlightFields(HighlightBuilder.Field... hi
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withHighlightFields(Collection<HighlightBuilder.Field> highlightFields) {
this.highlightFields.addAll(highlightFields);
return this;
@@ -213,9 +190,6 @@ public NativeSearchQueryBuilder withIndicesBoost(Collection<IndexBoost> indicesB
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withIndicesBoost(IndexBoost... indicesBoost) {
Collections.addAll(this.indicesBoost, indicesBoost);
return this;
@@ -231,9 +205,6 @@ public NativeSearchQueryBuilder withPageable(Pageable pageable) {
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withFields(Collection<String> fields) {
this.fields.addAll(fields);
return this;
@@ -244,9 +215,6 @@ public NativeSearchQueryBuilder withFields(String... fields) {
return this;
}

/**
* @since 4.4
*/
public NativeSearchQueryBuilder withStoredFields(Collection<String> storedFields) {

if (this.storedFields == null) {
@@ -257,9 +225,6 @@ public NativeSearchQueryBuilder withStoredFields(Collection<String> storedFields
return this;
}

/**
* @since 4.4
*/
public NativeSearchQueryBuilder withStoredFields(String... storedFields) {

if (this.storedFields == null) {
@@ -282,7 +247,6 @@ public NativeSearchQueryBuilder withMinScore(float minScore) {
/**
* @param trackScores whether to track scores.
* @return this object
* @since 3.1
*/
public NativeSearchQueryBuilder withTrackScores(boolean trackScores) {
this.trackScores = trackScores;
@@ -294,9 +258,6 @@ public NativeSearchQueryBuilder withIds(Collection<String> ids) {
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withIds(String... ids) {
Collections.addAll(this.ids, ids);
return this;
@@ -327,9 +288,6 @@ public NativeSearchQueryBuilder withMaxResults(Integer maxResults) {
return this;
}

/**
* @since 4.2
*/
public NativeSearchQueryBuilder withTrackTotalHits(Boolean trackTotalHits) {
this.trackTotalHits = trackTotalHits;
return this;
@@ -345,9 +303,6 @@ public NativeSearchQueryBuilder withRescorerQuery(RescorerQuery rescorerQuery) {
return this;
}

/**
* @since 4.3
*/
public NativeSearchQueryBuilder withSuggestBuilder(SuggestBuilder suggestBuilder) {
this.suggestBuilder = suggestBuilder;
return this;
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
/**
* @author Ryan Murfitt
* @author Artur Konczak
* @since 4.4
*/
public class ScriptField {