|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xpath.PathExpr
org.exist.xpath.Function
org.exist.xpath.FunContains
org.exist.xpath.FunNear
near() function.
Field Summary |
Fields inherited from class org.exist.xpath.FunContains |
containsExpr, hits, path, terms, type |
Fields inherited from class org.exist.xpath.Function |
name |
Fields inherited from class org.exist.xpath.PathExpr |
docs, inPredicate, keepVirtual, pool, steps |
Constructor Summary | |
FunNear(BrokerPool pool)
|
|
FunNear(BrokerPool pool,
PathExpr path,
java.lang.String arg)
|
Method Summary | |
Value |
eval(DocumentSet docs,
NodeSet context,
NodeProxy node)
Description of the Method |
java.lang.String |
pprint()
Description of the Method |
void |
setDistance(int distance)
Sets the distance attribute of the FunNear object |
Methods inherited from class org.exist.xpath.FunContains |
addTerm, preselect, processQuery, returnsType, setInPredicate, setPath |
Methods inherited from class org.exist.xpath.Function |
addArgument, createFunction, getArgument, getArgumentCount, getName |
Methods inherited from class org.exist.xpath.PathExpr |
add, add, addDocument, addPath, addPredicate, getDocumentSet, getExpression, getLength, preselect, setDocumentSet, setFirstExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FunNear(BrokerPool pool)
public FunNear(BrokerPool pool, PathExpr path, java.lang.String arg)
Method Detail |
public Value eval(DocumentSet docs, NodeSet context, NodeProxy node)
Function
eval
in interface Expression
eval
in class FunContains
public java.lang.String pprint()
pprint
in interface Expression
pprint
in class FunContains
public void setDistance(int distance)
distance
- The new distance value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |