Fixed javadoc warning

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-analytics-persistence-couchbase@157755 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-10-27 15:51:54 +00:00
parent 9f9d1ffec4
commit cfd744bc73
1 changed files with 10 additions and 43 deletions

View File

@ -326,15 +326,6 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
return String.format("%s%s", MAP_REDUCE__DESIGN, recordClass.newInstance().getRecordType()); return String.format("%s%s", MAP_REDUCE__DESIGN, recordClass.newInstance().getRecordType());
} }
/**
* New division of designDocId and map-reduce
*
* @param recordClass
* @param keys
* @return
* @throws InstantiationException
* @throws IllegalAccessException
*/
protected String getDesignDocIdSpecific(Class<? extends AggregatedRecord<?, ?>> recordClass, protected String getDesignDocIdSpecific(Class<? extends AggregatedRecord<?, ?>> recordClass,
Collection<String> keys) throws InstantiationException, IllegalAccessException { Collection<String> keys) throws InstantiationException, IllegalAccessException {
String specific = "all"; String specific = "all";
@ -346,12 +337,6 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
return getDesigndocIdSpecific; return getDesigndocIdSpecific;
} }
/**
* generate a name of map-reduce view
*
* @param collection
* @return
*/
public static String getMapReduceFunctionName(Collection<String> collection) { public static String getMapReduceFunctionName(Collection<String> collection) {
String reduceFunction = MAP_REDUCE_ALL; String reduceFunction = MAP_REDUCE_ALL;
if (!collection.isEmpty()) { if (!collection.isEmpty()) {
@ -367,12 +352,6 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
return reduceFunction; return reduceFunction;
} }
/**
* generate a name of map-reduce view
*
* @param collection
* @return
*/
public static String getMapReduceFunctionNameTopMap(String top, Collection<String> collection) { public static String getMapReduceFunctionNameTopMap(String top, Collection<String> collection) {
logger.debug("top:{}", top); logger.debug("top:{}", top);
logger.debug("collection:{}", collection.toString()); logger.debug("collection:{}", collection.toString());
@ -399,7 +378,7 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* EXPERIMENTAL DEPRECATED generate a name of design doc id for a top * EXPERIMENTAL DEPRECATED generate a name of design doc id for a top
* *
* @param collection * @param collection
* @return * @return String
*/ */
public static String getDesignDocIdName(Collection<String> collection) { public static String getDesignDocIdName(Collection<String> collection) {
String reduceFunction = MAP_REDUCE_ALL; String reduceFunction = MAP_REDUCE_ALL;
@ -688,17 +667,6 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
return map; return map;
} }
/**
* Used for calculate a top value
*
* @param clz
* @param temporalConstraint
* @param filters
* @param topKey
* @param orderingProperty
* @return
* @throws Exception
*/
@Override @Override
public SortedMap<NumberedFilter, SortedMap<Calendar, Info>> getTopValues( public SortedMap<NumberedFilter, SortedMap<Calendar, Info>> getTopValues(
Class<? extends AggregatedRecord<?, ?>> clz, TemporalConstraint temporalConstraint, List<Filter> filters, Class<? extends AggregatedRecord<?, ?>> clz, TemporalConstraint temporalConstraint, List<Filter> filters,
@ -747,7 +715,7 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* *
* @param clz * @param clz
* @param topKey * @param topKey
* @return * @return boolean
* @throws Exception * @throws Exception
*/ */
protected boolean usingNextPossibleValuesWithMap(Class<? extends AggregatedRecord<?, ?>> clz, String topKey, protected boolean usingNextPossibleValuesWithMap(Class<? extends AggregatedRecord<?, ?>> clz, String topKey,
@ -836,7 +804,7 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* @param filters * @param filters
* @param key * @param key
* @param orderingProperty * @param orderingProperty
* @return * @return SortedSet
* @throws Exception * @throws Exception
*/ */
public SortedSet<NumberedFilter> getNextPossibleValuesWithMap(Class<? extends AggregatedRecord<?, ?>> clz, public SortedSet<NumberedFilter> getNextPossibleValuesWithMap(Class<? extends AggregatedRecord<?, ?>> clz,
@ -1007,7 +975,7 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* @param filters * @param filters
* @param key * @param key
* @param orderingProperty * @param orderingProperty
* @return * @return SortedSet
* @throws Exception * @throws Exception
*/ */
@Override @Override
@ -1139,7 +1107,7 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* @param temporalConstraint * @param temporalConstraint
* @param filters * @param filters
* @param contexts * @param contexts
* @return * @return SortedMap
* @throws Exception * @throws Exception
*/ */
@Override @Override
@ -1194,7 +1162,7 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* @param temporalConstraint * @param temporalConstraint
* @param filters * @param filters
* @param key * @param key
* @return * @return SortedSet
* @throws Exception * @throws Exception
*/ */
@Override @Override
@ -1267,7 +1235,7 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* @param clz * @param clz
* @param temporalConstraint * @param temporalConstraint
* @param applicant * @param applicant
* @return * @return JSONObject
* @throws Exception * @throws Exception
*/ */
@Override @Override
@ -1375,7 +1343,7 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* Used for calculate a usage value for each element of list (QUOTA) * Used for calculate a usage value for each element of list (QUOTA)
* *
* @param listUsage * @param listUsage
* @return * @return List
* @throws Exception * @throws Exception
*/ */
@Override @Override
@ -1610,11 +1578,10 @@ public class AccountingPersistenceQueryCouchBase implements AccountingPersistenc
* @param clz * @param clz
* @param temporalConstraint * @param temporalConstraint
* @param filters * @param filters
* @param context * @param providersId
* @return * @return SortedMap
* @throws JSONException * @throws JSONException
*/ */
public SortedMap<Filter, SortedMap<Calendar, Long>> getSpaceTimeSeries(Class<? extends AggregatedRecord<?, ?>> clz, public SortedMap<Filter, SortedMap<Calendar, Long>> getSpaceTimeSeries(Class<? extends AggregatedRecord<?, ?>> clz,
TemporalConstraint temporalConstraint, List<Filter> filters, List<String> providersId) throws Exception { TemporalConstraint temporalConstraint, List<Filter> filters, List<String> providersId) throws Exception {