public class QueryRelations extends GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
QueryRelations.Sort
The sorting method for the relationships, can be `score` or `frequency`.
|
Constructor and Description |
---|
QueryRelations() |
Modifier and Type | Method and Description |
---|---|
QueryEntitiesContext |
getContext()
Gets the context.
|
java.lang.Long |
getCount()
Gets the count.
|
java.util.List<QueryRelationsEntity> |
getEntities()
Gets the entities.
|
QueryRelationsFilter |
getFilter()
Gets the filter.
|
java.lang.String |
getSort()
Gets the sort.
|
void |
setContext(QueryEntitiesContext context)
Sets the context.
|
void |
setCount(long count)
Sets the count.
|
void |
setEntities(java.util.List<QueryRelationsEntity> entities)
Sets the entities.
|
void |
setFilter(QueryRelationsFilter filter)
Sets the filter.
|
void |
setSort(java.lang.String sort)
Sets the sort.
|
equals, hashCode, toString
public java.util.List<QueryRelationsEntity> getEntities()
public QueryEntitiesContext getContext()
public java.lang.String getSort()
public QueryRelationsFilter getFilter()
public java.lang.Long getCount()
public void setEntities(java.util.List<QueryRelationsEntity> entities)
entities
- the new entitiespublic void setContext(QueryEntitiesContext context)
context
- the new contextpublic void setSort(java.lang.String sort)
sort
- the new sortpublic void setFilter(QueryRelationsFilter filter)
filter
- the new filterpublic void setCount(long count)
count
- the new count