public interface IRetrievalSchema
Modifier and Type | Method and Description |
---|---|
void |
addAggregateRowDefinition(LinkedHashMap<String,AggregateFunction> aggregateRowDefinition)
Only for internal use.
|
void |
addAllMetaPrimitiveNames(List<String> names)
Only for internal use.
|
void |
addMetaAssociationSchema(IMetaAssociationSchema metaAssociationSchema)
Only for internal use.
|
void |
addMetaPrimitiveName(String name)
Only for internal use.
|
void |
addMetaPrimitiveNames(String... name)
Only for internal use.
|
ISortExpression |
addSortExpression(String memberName,
ISortExpression.SortDirection sortDirection)
Adds a new sort expression to this request based on the given parameters.
|
void |
addSortExpressions(ISortExpression... sortExpressions)
Adds all
|
void |
clearMetaPrimitiveNames()
Only for internal use.
|
void |
clearSortExpressions()
Removes all sort expressions from the list of sort expressions of this request.
|
void |
copyFrom(IRetrievalSchema source)
Copy the immutable parts of the retrieval schema from source.
|
List<LinkedHashMap<String,AggregateFunction>> |
getAggregateRowDefinitions()
Only for internal use.
|
long |
getAmount()
Returns the count of the result rows to be retrieved.
|
int |
getAssociationDepth()
Gets the depth level of the associations.
|
List<? extends IMetaAssociationSchema> |
getMetaAssociationSchemas()
Only for internal use.
|
String |
getMetaObjectName()
Only for internal use.
|
List<IMetaObject> |
getMetaObjects()
Only for internal use.
|
Collection<String> |
getMetaPrimitiveNames()
Only for internal use.
|
long |
getOffset()
Returns the start row from where the result will be retrieved.
|
List<? extends ISortExpression> |
getSortExpressions()
Returns the sort expressions which are used to sort the result data of this request.
|
boolean |
isDistinct()
Only for internal use.
|
void |
removeSortExpression(ISortExpression sortExpression)
Removes a sort expression from the list of sort expressions of this request.
|
void |
setAmount(long amount)
Sets the count of the result rows to be retrieved.
|
void |
setAssociationDepth(int depth)
Sets the depth level of the associations.
|
void |
setDistinct(boolean distinct)
Only for internal use.
|
void |
setMetaObjectName(String name)
Only for internal use.
|
void |
setOffset(long offset)
Sets the start row from where the result will be retrieved.
|
boolean |
useOnlyDeclaredMembers()
Only for internal use.
|
long getOffset()
void setOffset(long offset)
long getAmount()
void setAmount(long amount)
List<? extends ISortExpression> getSortExpressions()
void addSortExpressions(ISortExpression... sortExpressions)
sortExpressions
- the sort expressions.ISortExpression addSortExpression(String memberName, ISortExpression.SortDirection sortDirection)
memberName
- the member on which the query result must be sortedsortDirection
- the sort orderISortExpression
void removeSortExpression(ISortExpression sortExpression)
void clearSortExpressions()
int getAssociationDepth()
void setAssociationDepth(int depth)
boolean useOnlyDeclaredMembers()
List<IMetaObject> getMetaObjects()
List<? extends IMetaAssociationSchema> getMetaAssociationSchemas()
void addMetaAssociationSchema(IMetaAssociationSchema metaAssociationSchema)
metaAssociationSchema
- Collection<String> getMetaPrimitiveNames()
void addMetaPrimitiveName(String name)
name
- void addMetaPrimitiveNames(String... name)
name
- void addAllMetaPrimitiveNames(List<String> names)
names
- void clearMetaPrimitiveNames()
void addAggregateRowDefinition(LinkedHashMap<String,AggregateFunction> aggregateRowDefinition)
aggregateRowDefinition
- List<LinkedHashMap<String,AggregateFunction>> getAggregateRowDefinitions()
String getMetaObjectName()
void setMetaObjectName(String name)
name
- boolean isDistinct()
void setDistinct(boolean distinct)
distinct
- void copyFrom(IRetrievalSchema source)
source
-