|
MarkLogic Connector for Hadoop 1.1-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.marklogic.mapreduce.functions.LexiconFunction
com.marklogic.mapreduce.functions.ValueOrWordMatchFunction
public abstract class ValueOrWordMatchFunction
Super class for wrapper classes for lexicon word and value match
functions, such as cts:element-value-match or
cts:field-word-match.
| Constructor Summary | |
|---|---|
ValueOrWordMatchFunction()
|
|
| Method Summary | |
|---|---|
String |
getInputQuery(Collection<String> nsCol,
long start,
long count)
Get the input query used by a record reader. |
String |
getPattern()
Get the value for the $pattern parameter to a lexicon function call. |
| Methods inherited from class com.marklogic.mapreduce.functions.LexiconFunction |
|---|
getLexiconQuery, getUserDefinedOptions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueOrWordMatchFunction()
| Method Detail |
|---|
public String getPattern()
This method corresponds to the $pattern parameter value of a lexicon function call. Override this function to supply a pattern other than the default.
When evaluated as XQuery, the returned string must resolve to an atomic type matching the type of the lexicon. String patterns may include wildcard characters.
public String getInputQuery(Collection<String> nsCol,
long start,
long count)
LexiconFunction
getInputQuery in class LexiconFunctionnsCol - alias-URI pairs of namespace specsstart - start of the splitcount - count of the split
|
MarkLogic Connector for Hadoop 1.1-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com