public class QueryToken extends Object
| Constructor and Description |
|---|
QueryToken() |
QueryToken(String normalizedQueryTerm,
Stack<QueryType> typeStack,
int group) |
| Modifier and Type | Method and Description |
|---|---|
protected QueryToken |
clone() |
QueryModification |
createModification(String rawQueryString,
List<String> alternatives) |
String |
getExtendedPosition() |
int |
getGroup() |
String |
getNormalizedQueryTerm() |
QueryTermPosition |
getPosition() |
String |
getTerm() |
QueryType |
getType() |
Stack<QueryType> |
getTypeStack() |
void |
merge(QueryToken other,
String rawQueryString) |
void |
setPosition(QueryTermPosition position) |
public void setPosition(QueryTermPosition position)
public String getNormalizedQueryTerm()
public QueryTermPosition getPosition()
public int getGroup()
public QueryType getType()
public String getTerm()
protected QueryToken clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic void merge(QueryToken other, String rawQueryString)
public QueryModification createModification(String rawQueryString, List<String> alternatives)
public String getExtendedPosition()
Copyright © 2019 Europeana Foundation. All rights reserved.