mirror of
https://github.com/apache/lucene.git
synced 2025-03-09 11:23:31 +00:00
Fixing all reported javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@682376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d222a0da07
commit
40f8ad057a
@ -333,8 +333,8 @@ public class EntityProcessorBase extends EntityProcessor {
|
||||
* If the where clause is present the cache is sql Vs Map of key Vs List of
|
||||
* Rows. Only used by cache implementations.
|
||||
*
|
||||
* @param query
|
||||
* @return
|
||||
* @param query the query string for which cached data is to be returned
|
||||
* @return the cached row corresponding to the given query after all variables have been resolved
|
||||
*/
|
||||
protected Map<String, Object> getIdCacheData(String query) {
|
||||
Map<Object, List<Map<String, Object>>> rowIdVsRows = cacheWithWhereClause
|
||||
@ -373,13 +373,14 @@ public class EntityProcessorBase extends EntityProcessor {
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Get all the rows from the the datasource for the given query. Only used by
|
||||
* cache implementations.
|
||||
* <p/>
|
||||
* </p>
|
||||
* This <b>must</b> be implemented by sub-classes which intend to provide a
|
||||
* cached implementation
|
||||
*
|
||||
* @return
|
||||
* @return the list of all rows fetched from the datasource.
|
||||
*/
|
||||
protected List<Map<String, Object>> getAllNonCachedRows() {
|
||||
return Collections.EMPTY_LIST;
|
||||
@ -389,7 +390,8 @@ public class EntityProcessorBase extends EntityProcessor {
|
||||
* If where clause is not present the cache is a Map of query vs List of Rows.
|
||||
* Only used by cache implementations.
|
||||
*
|
||||
* @return
|
||||
* @param query string for which cached row is to be returned
|
||||
* @return the cached row corresponding to the given query
|
||||
*/
|
||||
protected Map<String, Object> getSimplCacheData(String query) {
|
||||
List<Map<String, Object>> rows = simpleCache.get(query);
|
||||
|
@ -41,9 +41,10 @@ public abstract class Evaluator {
|
||||
/**
|
||||
* Return a String after processing an expression and a VariableResolver
|
||||
*
|
||||
* @param resolver
|
||||
* @param expression
|
||||
* @return
|
||||
* @see org.apache.solr.handler.dataimport.VariableResolver
|
||||
* @param resolver the VariableResolver instance to be used for evaluation
|
||||
* @param expression string to be evaluated
|
||||
* @return the value of the given expression evaluated using the resolver
|
||||
*/
|
||||
public abstract String evaluate(VariableResolver resolver, String expression);
|
||||
}
|
||||
|
@ -46,7 +46,8 @@ public class EvaluatorBag {
|
||||
* of single-quotes by two single-quotes and similarily for double-quotes
|
||||
* </p>
|
||||
*
|
||||
* @return
|
||||
* @return an <code>Evaluator</code> instance capable of SQL-escaping
|
||||
* expressions.
|
||||
*/
|
||||
public static Evaluator getSqlEscapingEvaluator() {
|
||||
return new Evaluator() {
|
||||
|
@ -240,7 +240,7 @@ public abstract class SolrWriter {
|
||||
* preserved.
|
||||
* </p>
|
||||
*
|
||||
* @param date
|
||||
* @param date the Date instance to be persisted
|
||||
*/
|
||||
public void persistIndexStartTime(Date date) {
|
||||
this.persistStartTime(date);
|
||||
@ -254,7 +254,7 @@ public abstract class SolrWriter {
|
||||
* </p>
|
||||
*
|
||||
* @param d . The Document warapper object
|
||||
* @return
|
||||
* @return a boolean value denoting success (true) or failure (false)
|
||||
*/
|
||||
public abstract boolean upload(SolrDoc d);
|
||||
|
||||
|
@ -62,9 +62,9 @@ public class TemplateString {
|
||||
* Returns a string with all variables replaced by the known values. An
|
||||
* unknown variable is replaced by an empty string.
|
||||
*
|
||||
* @param string
|
||||
* @param resolver
|
||||
* @return
|
||||
* @param string the String to be resolved
|
||||
* @param resolver the VariableResolver instance to be used for evaluation
|
||||
* @return the string with all variables replaced
|
||||
*/
|
||||
public String replaceTokens(String string, VariableResolver resolver) {
|
||||
TemplateString ts = cache.get(string);
|
||||
@ -104,7 +104,7 @@ public class TemplateString {
|
||||
/**
|
||||
* Returns the variables in the given string.
|
||||
*
|
||||
* @param the templatized string
|
||||
* @param s the templatized string
|
||||
* @return the list of variables (strings) in the given templatized string.
|
||||
*/
|
||||
public static List<String> getVariables(String s) {
|
||||
|
@ -38,8 +38,8 @@ public abstract class VariableResolver {
|
||||
/**
|
||||
* Resolves a given value with a name
|
||||
*
|
||||
* @param name
|
||||
* @return
|
||||
* @param name the String to be resolved
|
||||
* @return an Object which is the result of evaluation of given name
|
||||
*/
|
||||
public abstract Object resolve(String name);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user