public abstract class AbstractQuery extends java.lang.Object implements IQuery
| Constructor and Description |
|---|
AbstractQuery(java.util.List<EStructuralFeature[]> projectionPaths) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilterString()
Returns the query string that is responsible for filtering
|
long |
getLimit()
Returns the entry limit count.
|
java.lang.String |
getLimitString()
Returns the query string that is responsible for limiting the result size
|
java.util.List<EStructuralFeature[]> |
getProjectionPaths()
Returns the
EStructuralFeature paths for the projection |
java.lang.String |
getProjectionString()
Returns the query string that is responsible for projection
|
long |
getSkip()
Returns the entry skip/offset count.
|
SortType |
getSortDirection()
Returns the sort direction
|
java.lang.String |
getSortField()
Returns the sort field or
null |
java.lang.String |
getSortString()
Returns the query string that is responsible for sorting
|
void |
setLimit(long limit)
Sets the entry count limit
|
void |
setSkip(long skip)
Sets the entry skip count to start from
|
void |
setSort(EAttribute field,
SortType sortType)
Sets the sorting parameters
|
public AbstractQuery(java.util.List<EStructuralFeature[]> projectionPaths)
public void setLimit(long limit)
IQuerypublic long getLimit()
IQuerypublic void setSkip(long skip)
IQuerypublic long getSkip()
IQuerypublic void setSort(EAttribute field,
SortType sortType)
IQuerypublic java.lang.String getSortField()
IQuerynullgetSortField in interface IQuerynullpublic SortType getSortDirection()
IQuerygetSortDirection in interface IQuerypublic java.lang.String getFilterString()
IQuerygetFilterString in interface IQuerypublic java.lang.String getLimitString()
IQuerygetLimitString in interface IQuerypublic java.lang.String getSortString()
IQuerygetSortString in interface IQuerypublic java.lang.String getProjectionString()
IQuerygetProjectionString in interface IQuerypublic java.util.List<EStructuralFeature[]> getProjectionPaths()
IQueryEStructuralFeature paths for the projectiongetProjectionPaths in interface IQueryEStructuralFeature paths for the projectionData In Motion Consulting