|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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(java.lang.String fieldName,
java.lang.String prefix)
Construct a new TextFieldPrefixQuery. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getFieldName()
|
java.lang.String |
getKey()
|
java.util.List |
getParameters()
List of parameters as String s or SearchQuery s. |
java.lang.String |
getPrefix()
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextFieldPrefixQuery(java.lang.String fieldName, java.lang.String prefix)
fieldName
- the index field to apply this query onprefix
- the prefix being searched forMethod Detail |
---|
public java.lang.String getKey()
getKey
in interface SearchQuery
public java.util.List getParameters()
SearchQuery
String
s or SearchQuery
s.
getParameters
in interface SearchQuery
String
s or SearchQuery
s.public java.lang.String getFieldName()
public java.lang.String getPrefix()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |