Package oracle.webcenter.search.refine
Class StringRefiner
- All Implemented Interfaces:
Serializable
The StringRefiner is a String subclass of the base Refiner class
that focuses on Modifiers of the String type.
- Since:
- 11.1.1.0.0 Beta 2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a StringRefiner on a column with a map of counters registering counts for each String value.StringRefiner
(QName column, Map<String, Integer> counters) Constructs a StringRefiner on a column with a map of counters registering counts for each String value. -
Method Summary
Modifier and TypeMethodDescriptionprotected Refinement<String>
createRefinement
(String key, int count) The only responsbility of the StringRefiner subclass is to create a Refinement of type String; so we just return a new StringRefinement.Methods inherited from class oracle.webcenter.search.refine.Refiner
addRefinements, consumeCounters, getName, getRefinements, lookupRefinement, organize, toString
-
Constructor Details
-
StringRefiner
Constructs a StringRefiner on a column with a map of counters registering counts for each String value.- Parameters:
column
- the qualified QName of a column in a Row of resultscomparator
- a comparator to override the default EQUALS, e.g. CONTAINScounters
- a Map of counters keyed by a String value
-
StringRefiner
Constructs a StringRefiner on a column with a map of counters registering counts for each String value.- Parameters:
column
- the qualified QName of a column in a Row of resultscounters
- a Map of counters keyed by a String value
-
-
Method Details
-
createRefinement
The only responsbility of the StringRefiner subclass is to create a Refinement of type String; so we just return a new StringRefinement.- Specified by:
createRefinement
in classRefiner<String>
- Parameters:
key
- the String value to create the StringRefinement withcount
- how many times has this String been used?- Returns:
- a Refinement of type T
-