|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.config.QueryConfig
public class QueryConfig
This QueryConfig represents a schema configuration for a QueryManager. A QueryConfig object contains a set of QueryMapping objects and a set of QueryRelationship objects.
Users use addQuerySchema method to add a QueryMapping object and use addRelationship method to add a QueryRelationship object into this QueryConfig object.
ObjectGrid.setQueryConfig(QueryConfig)
,
QueryMapping
,
QueryRelationship
,
Serialized FormConstructor Summary | |
---|---|
QueryConfig()
Default constructor. |
Method Summary | |
---|---|
void |
addQueryMapping(QueryMapping mapping)
Add a QueryMapping to this QueryConfig |
void |
addQueryRelationship(QueryRelationship relation)
Add a QueryRelationship to this QueryConfig |
QueryMapping[] |
getQueryMappings()
Retrieve all added QueryMappings |
QueryRelationship[] |
getQueryRelationships()
Retrieve all added QueryRelationships |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryConfig()
Method Detail |
---|
public void addQueryMapping(QueryMapping mapping)
mapping
- the QueryMapping to add.public void addQueryRelationship(QueryRelationship relation)
relation
- the QueryRelationship to add.public QueryMapping[] getQueryMappings()
public QueryRelationship[] getQueryRelationships()
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |