se.l4.silo.search.QueryItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of silo-search-api Show documentation
Show all versions of silo-search-api Show documentation
API for Lucene-based querying for Silo.
The newest version!
package se.l4.silo.search;
public class QueryItem
{
private String type;
private Object payload;
public QueryItem(String type, Object payload)
{
this.type = type;
this.payload = payload;
}
public String getType()
{
return type;
}
public Object getPayload()
{
return payload;
}
@Override
public String toString()
{
return "QueryItem [type=" + type + ", payload=" + payload + "]";
}
}