|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A multi-dimensional space of IQueryParams. A data item
has a location in this space (see IDataInspector). Data
items are divided into IChunks that represent regions of the
space.
| Method Summary | |
IQueryParam[] |
chunk(IQueryParam theParam)
TODO: this assumes that chunk sizes along a given dimension are independent of other dimensions, but this may not be feasible. |
IDimension[] |
getDimensions()
|
IQuery[] |
group(IQuery[] theQueries,
int theMaxGroups)
Given a list of queries, finds a small set of queries that includes all of them, without including too many queries that aren't in the list. |
| Method Detail |
public IDimension[] getDimensions()
public IQueryParam[] chunk(IQueryParam theParam)
theParam - a IQueryParam
IQueryParams that together encompasses the given
IQueryParam, each of which corresponds to the size of a
IChunk.
public IQuery[] group(IQuery[] theQueries,
int theMaxGroups)
theQueries - a list of IQueryies to be covered by the returned
IQuerystheMaxGroups - maximum number of IQuerys returned (lower numbers
will generally force more extra chunks to be spanned)
IQuerys that include all the specified chunks
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||