|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.v2.query.TextFieldPrefixQuery
public class TextFieldPrefixQuery
Represents a query that specifies a prefix to be matched - equivalent to a trailing wildcard search e.g. 'app' will match 'apple'
Note: Using this query means that you know the name of fields within you index. This means that your code is
bound to the name of fields in the index which could change. Ultimately you should not consider the
TextFieldPrefixQuery part of the public search API.
| Constructor Summary | |
|---|---|
TextFieldPrefixQuery(String fieldName,
String prefix)
Construct a new TextFieldPrefixQuery. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getFieldName()
|
String |
getKey()
|
List |
getParameters()
List of parameters as Strings or SearchQuerys. |
String |
getPrefix()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextFieldPrefixQuery(String fieldName,
String prefix)
fieldName - the index field to apply this query onprefix - the prefix being searched for| Method Detail |
|---|
public String getKey()
getKey in interface SearchQuerypublic List getParameters()
SearchQueryStrings or SearchQuerys.
getParameters in interface SearchQueryStrings or SearchQuerys.public String getFieldName()
public String getPrefix()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||