Class QueryData
- java.lang.Object
 - 
- com.ibm.fhir.persistence.jdbc.domain.QueryData
 
 
- 
public class QueryData extends java.lang.ObjectA simple wrapper used by theSearchQueryRendererto hold the current query -SelectAdapter- and the table alias values if this query wants to advertise them. Immutable. 
- 
- 
Constructor Summary
Constructors Constructor Description QueryData(SelectAdapter query, java.lang.String lrAlias, java.lang.String paramAlias, java.lang.String resourceType, int chainDepth)Public constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChainDepth()Getter for the chainDepthjava.lang.StringgetLRAlias()Convenience function to generate the alias we use for parent xx_logical_resource tables Typically used when correlating a parameter sub-join with the parent queryjava.lang.StringgetParamAlias()Get the alias of the parameter table if one is advertised by this query blockSelectAdaptergetQuery()java.lang.StringgetResourceType() 
 - 
 
- 
- 
Constructor Detail
- 
QueryData
public QueryData(SelectAdapter query, java.lang.String lrAlias, java.lang.String paramAlias, java.lang.String resourceType, int chainDepth)
Public constructor- Parameters:
 query-lrAlias-paramAlias-resourceType-chainDepth-
 
 - 
 
- 
Method Detail
- 
getLRAlias
public java.lang.String getLRAlias()
Convenience function to generate the alias we use for parent xx_logical_resource tables Typically used when correlating a parameter sub-join with the parent query- Returns:
 
 
- 
getParamAlias
public java.lang.String getParamAlias()
Get the alias of the parameter table if one is advertised by this query block- Returns:
 
 
- 
getQuery
public SelectAdapter getQuery()
- Returns:
 - the query
 
 
- 
getChainDepth
public int getChainDepth()
Getter for the chainDepth- Returns:
 - the chainDepth which is >= 0
 
 
- 
getResourceType
public java.lang.String getResourceType()
- Returns:
 - the resourceType
 
 
 - 
 
 -