|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.QueryBase com.bmc.arsys.api.RecursiveQuery
public class RecursiveQuery
The RecursiveQuery
class is used to
define the properties of a sub- or hierarchical query.
QueryBase
,
IQuerySource
,
QuerySourceForm
Field Summary |
---|
Fields inherited from interface com.bmc.arsys.api.IQuerySource |
---|
AR_MULTI_SCHEMA_JOIN_INNER, AR_MULTI_SCHEMA_JOIN_LEFT, AR_MULTI_SCHEMA_JOIN_NONE, AR_MULTI_SCHEMA_JOIN_RIGHT |
Constructor Summary | |
---|---|
RecursiveQuery()
|
|
RecursiveQuery(IQuerySource sourceJoinedWith,
int joinType,
QualifierInfo joinQualifier,
QualifierInfo startQualifier,
QualifierInfo recursionQualifier,
int levelsToRetrieve)
|
|
RecursiveQuery(QualifierInfo recursionQualifier,
int levelsToRetrieve)
|
Method Summary | |
---|---|
boolean |
addFromSource(QuerySourceForm sourceForm,
boolean isRecursive)
Adds a new form to the list of the IQuerySource sources that the recursive query selects from. |
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
boolean |
equals(Object obj)
|
String |
getAlias()
Internal use. |
IQuerySource |
getJoinedWith()
Returns the IQuerySource source this source is joined with. |
QualifierInfo |
getJoinQualifier()
Returns the join qualifier. |
int |
getJoinType()
Returns the type of a join. |
int |
getLevelsToRetrieve()
Gets the levels to retrieve. |
QualifierInfo |
getQualifier()
Returns the start qualifier. |
QualifierInfo |
getRecursionQualifier()
Returns the recursion qualifier. |
QuerySourceForm |
getRecursiveForm()
Returns the recursive form. |
int |
hashCode()
|
void |
setJoin(IQuerySource sourceJoinedWith,
int joinType,
QualifierInfo joinQualifier)
Sets the join information. |
void |
setJoinedWith(IQuerySource sourceJoinedWith)
Sets the IQuerySource source to be joined with. |
void |
setJoinQualifier(QualifierInfo joinQualifier)
Sets the join qualifier. |
void |
setJoinType(int joinType)
Sets the type of a join. |
void |
setLevelsToRetrieve(int levelsToRetrieve)
Sets the levels to retrieve. |
void |
setQualifier(QualifierInfo startQualifier)
Sets the start qualifier. |
void |
setRecursionQualifier(QualifierInfo recursionQualifier)
Sets the recursion qualifier. |
void |
setRecursiveForm(QuerySourceForm recursiveForm)
Sets the recursive form. |
String |
toString()
Returns a string description of the object. |
String |
toStringShort()
Returns a simplified string description of the object. |
Methods inherited from class com.bmc.arsys.api.QueryBase |
---|
addFromField, addFromField, addFromField, addFromSource, addGroupBy, addHaving, getFromFields, getFromSources, getGroupBy, getHaving, getHavingList, setFromFields, setFromSources, setGroupBy, setHaving |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RecursiveQuery()
public RecursiveQuery(QualifierInfo recursionQualifier, int levelsToRetrieve)
public RecursiveQuery(IQuerySource sourceJoinedWith, int joinType, QualifierInfo joinQualifier, QualifierInfo startQualifier, QualifierInfo recursionQualifier, int levelsToRetrieve)
Method Detail |
---|
public void setJoin(IQuerySource sourceJoinedWith, int joinType, QualifierInfo joinQualifier)
public QualifierInfo getJoinQualifier()
getJoinQualifier
in interface IQuerySource
public void setJoinQualifier(QualifierInfo joinQualifier)
setJoinQualifier
in interface IQuerySource
public int getJoinType()
getJoinType
in interface IQuerySource
public void setJoinType(int joinType)
setJoinType
in interface IQuerySource
public IQuerySource getJoinedWith()
IQuerySource
source this source is joined with.
getJoinedWith
in interface IQuerySource
public void setJoinedWith(IQuerySource sourceJoinedWith)
IQuerySource
source to be joined with.
setJoinedWith
in interface IQuerySource
QuerySourceForm.setJoin(com.bmc.arsys.api.IQuerySource, int, com.bmc.arsys.api.QualifierInfo)
public void setRecursionQualifier(QualifierInfo recursionQualifier)
public QualifierInfo getRecursionQualifier()
public void setLevelsToRetrieve(int levelsToRetrieve)
public int getLevelsToRetrieve()
public void setQualifier(QualifierInfo startQualifier)
setQualifier
in class QueryBase
public QualifierInfo getQualifier()
getQualifier
in class QueryBase
public void setRecursiveForm(QuerySourceForm recursiveForm)
public QuerySourceForm getRecursiveForm()
public boolean addFromSource(QuerySourceForm sourceForm, boolean isRecursive)
IQuerySource
sources that the recursive query selects from.
If specified, sets this form as the form to recurse on.
public String getAlias()
getAlias
in interface IQuerySource
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public Object clone() throws CloneNotSupportedException
clone
in interface IQuerySource
clone
in class QueryBase
CloneNotSupportedException
public String toString()
toString
in class QueryBase
public String toStringShort()
toStringShort
in interface IQuerySource
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |