|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKCQExpr
DKCQExpr class represents a compound or combined query expression. It may contain a DKQExpr query expressions tree, which may contains a combination of one parametric, one text, and one image query.
Constructor Summary | |
DKCQExpr()
Default constructor without a parameter. |
|
DKCQExpr(DKQExpr queryExpr)
Constructor with one query expression. |
Method Summary | |
java.lang.String |
getDatastoreName()
Gets the target datastore name for executing this query. |
java.lang.String |
getDatastoreType()
Gets the target datastore type for executing this query. |
java.lang.String[] |
getEntityNames()
Gets the mapped entity names in this query expression. |
java.lang.String[] |
getMappingNames()
Gets the optional schema mapping names for executing this query. |
int[] |
getMappingTypes()
Gets the optional schema mapping types for executing this query. |
short |
getQLType()
Gets the query language type, which could be a parametric, text, image query, combined query, etc. |
DKQExpr |
getQueryExpr()
Gets the query expression. |
java.lang.String |
getSearchTemplateName()
Gets the search template name origin of this query expression. |
boolean |
isTranslation()
Check if this query requires schema translation using schema mapping. |
void |
setDatastoreName(java.lang.String dsName)
Sets the target datastore name for executing this query. |
void |
setDatastoreType(java.lang.String dsType)
Sets the target datastore type for executing this query. |
void |
setQLType(short qlType)
Sets the query language type. |
void |
setQueryExpr(DKQExpr queryExpr)
Sets the query expression tree. |
void |
setSearchTemplateName(java.lang.String stName)
Sets the search template name origin of this query expression. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKCQExpr()
public DKCQExpr(DKQExpr queryExpr)
Method Detail |
public short getQLType()
public void setQLType(short qlType)
qlType
- the query language typegetQLType()
public java.lang.String getDatastoreType()
public void setDatastoreType(java.lang.String dsType)
dsName
- target datastore typepublic java.lang.String getDatastoreName()
public void setDatastoreName(java.lang.String dsName)
dsName
- target datastore namepublic java.lang.String getSearchTemplateName()
public void setSearchTemplateName(java.lang.String stName)
stName
- the search template namepublic java.lang.String[] getMappingNames() throws DKException
public int[] getMappingTypes() throws DKException
public java.lang.String[] getEntityNames() throws DKException
public boolean isTranslation()
public DKQExpr getQueryExpr()
public void setQueryExpr(DKQExpr queryExpr)
queryExpr
- a query expression treegetQueryExpr()
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |