Class QueryData


  • public class QueryData
    extends Object
    A simple wrapper used by the SearchQueryRenderer to hold the current query - SelectAdapter - and the table alias values if this query wants to advertise them. Immutable.
    • Constructor Detail

      • QueryData

        public QueryData​(SelectAdapter query,
                         String lrAlias,
                         String paramAlias,
                         String resourceType,
                         int chainDepth)
        Public constructor
        Parameters:
        query -
        lrAlias -
        paramAlias -
        resourceType -
        chainDepth -
    • Method Detail

      • getLRAlias

        public 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 String getParamAlias()
        Get the alias of the parameter table if one is advertised by this query block
        Returns:
      • getChainDepth

        public int getChainDepth()
        Getter for the chainDepth
        Returns:
        the chainDepth which is >= 0
      • getResourceType

        public String getResourceType()
        Returns:
        the resourceType