Remove deprecated stuff.
This commit is contained in:
@ -239,7 +239,7 @@ Queries are applied to a range. The following types of ranges are supported.
|
|||||||
```json
|
```json
|
||||||
"range":{
|
"range":{
|
||||||
"startDate":"2015-08-06T18:00:00.000",
|
"startDate":"2015-08-06T18:00:00.000",
|
||||||
"endDate":"2015-08-06T18:59:59.999",
|
"endDate":"2015-08-06T18:59:59.999"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -215,17 +215,6 @@ public class QueryRestController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the current list of {@link Ordering}s available.
|
|
||||||
*
|
|
||||||
* @return list of {@link Ordering}s as String array
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@RequestMapping(value = "ordering", method = {RequestMethod.GET}, produces = {MediaType.APPLICATION_JSON_VALUE})
|
|
||||||
public @ResponseBody List<Ordering> getOrderingValuesDeprecated() {
|
|
||||||
return Lists.newArrayList(Ordering.values());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current list of {@link Ordering}s available.
|
* Returns the current list of {@link Ordering}s available.
|
||||||
*
|
*
|
||||||
@ -237,18 +226,6 @@ public class QueryRestController {
|
|||||||
return Lists.newArrayList(Ordering.values());
|
return Lists.newArrayList(Ordering.values());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the current list of {@link ResponseFormat}s available.
|
|
||||||
*
|
|
||||||
* @return list of {@link Ordering}s as String array
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@RequestMapping(value = "responseformat", method = {RequestMethod.GET},
|
|
||||||
produces = {MediaType.APPLICATION_JSON_VALUE})
|
|
||||||
public @ResponseBody List<ResponseFormat> getResponseFormatValuesDeprecated() {
|
|
||||||
return Lists.newArrayList(ResponseFormat.values());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current list of {@link ResponseFormat}s available.
|
* Returns the current list of {@link ResponseFormat}s available.
|
||||||
*
|
*
|
||||||
@ -260,19 +237,6 @@ public class QueryRestController {
|
|||||||
return Lists.newArrayList(ResponseFormat.values());
|
return Lists.newArrayList(ResponseFormat.values());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the current list of {@link QueryField}s available.
|
|
||||||
*
|
|
||||||
* @return list of {@link QueryField}s as String array
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@RequestMapping(value = "queryfields", method = {RequestMethod.GET}, produces = {MediaType.APPLICATION_JSON_VALUE})
|
|
||||||
public @ResponseBody List<QueryField> getQueryFieldValuesDeprecated() {
|
|
||||||
return Arrays.stream(QueryField.values())
|
|
||||||
.filter(queryField -> queryField.isPublish())
|
|
||||||
.collect(Collectors.toList());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current list of {@link QueryField}s available.
|
* Returns the current list of {@link QueryField}s available.
|
||||||
*
|
*
|
||||||
@ -286,17 +250,6 @@ public class QueryRestController {
|
|||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the current list of {@link Aggregation}s available.
|
|
||||||
*
|
|
||||||
* @return list of {@link Aggregation}s as String array
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@RequestMapping(value = "aggregations", method = {RequestMethod.GET}, produces = {MediaType.APPLICATION_JSON_VALUE})
|
|
||||||
public @ResponseBody List<Aggregation> getAggregationValuesDeprecated() {
|
|
||||||
return Lists.newArrayList(Aggregation.values());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current list of {@link Aggregation}s available.
|
* Returns the current list of {@link Aggregation}s available.
|
||||||
*
|
*
|
||||||
@ -308,18 +261,6 @@ public class QueryRestController {
|
|||||||
return Lists.newArrayList(Aggregation.values());
|
return Lists.newArrayList(Aggregation.values());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the current list of {@link AggregationType}s available.
|
|
||||||
*
|
|
||||||
* @return list of {@link AggregationType}s as String array
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@RequestMapping(value = "aggregationtypes", method = {RequestMethod.GET},
|
|
||||||
produces = {MediaType.APPLICATION_JSON_VALUE})
|
|
||||||
public @ResponseBody List<AggregationType> getAggregationTypeValuesDeprecated() {
|
|
||||||
return Lists.newArrayList(AggregationType.values());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current list of {@link AggregationType}s available.
|
* Returns the current list of {@link AggregationType}s available.
|
||||||
*
|
*
|
||||||
@ -331,17 +272,6 @@ public class QueryRestController {
|
|||||||
return Lists.newArrayList(AggregationType.values());
|
return Lists.newArrayList(AggregationType.values());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the current list of {@link Backend} values.
|
|
||||||
*
|
|
||||||
* @return list of {@link Backend}s as String array
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@RequestMapping(value = "backends", method = {RequestMethod.GET}, produces = {MediaType.APPLICATION_JSON_VALUE})
|
|
||||||
public @ResponseBody List<Backend> getBackendValuesDeprecated() {
|
|
||||||
return getBackendValues();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current list of {@link Backend} values.
|
* Returns the current list of {@link Backend} values.
|
||||||
*
|
*
|
||||||
@ -356,17 +286,6 @@ public class QueryRestController {
|
|||||||
// return Lists.newArrayList(Backend.values());
|
// return Lists.newArrayList(Backend.values());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the current list of {@link Compression}s available.
|
|
||||||
*
|
|
||||||
* @return list of {@link Compression}s as String array
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
@RequestMapping(value = "compression", method = {RequestMethod.GET}, produces = {MediaType.APPLICATION_JSON_VALUE})
|
|
||||||
public @ResponseBody List<Compression> getCompressionValuesDeprecated() {
|
|
||||||
return Lists.newArrayList(Compression.values());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current list of {@link Compression}s available.
|
* Returns the current list of {@link Compression}s available.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user