Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="JoinSelectBuilder"/> class.
        /// </summary>
        /// <param name="opRendererResolver">The operator renderer resolver.</param>
        /// <param name="envMapper">The environment names mapper.</param>
        /// <param name="propagationAlgorithm">The attribute propagation algorithm.</param>
        public JoinSelectBuilder(OperatorRendererResolver opRendererResolver, IEnvironmentMapper envMapper, IAttributePropagationAlgorithm propagationAlgorithm)
        {
            this._opRendererResolver   = opRendererResolver;
            this._envMapper            = envMapper;
            this._propagationAlgorithm = propagationAlgorithm;

            this.parts = new Dictionary <string, string>();
            this.parts.Add("identifiers", string.Empty);
            this.parts.Add("measures", string.Empty);
            this.parts.Add("attributes", string.Empty);
            this.parts.Add("calc", string.Empty);
            this.parts.Add("source", string.Empty);
            this.parts.Add("filters", string.Empty);
            this.parts.Add("group", string.Empty);
            this.parts.Add("having", string.Empty);
            this.parts.Add("over", string.Empty);
        }
Пример #2
0
        public ITargetBuilder SetAttributePropagationAlgorithm(IAttributePropagationAlgorithm propagationAlgorithm)
        {
            this._configuration.AttributePropagationAlgorithm = propagationAlgorithm;

            return(this);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExistsInOperatorRenderer"/> class.
 /// </summary>
 /// <param name="opRendererResolver">The operator renderer resolver.</param>
 /// <param name="propagationAlgorithm">The attribute propagation algorithm.</param>
 public ExistsInOperatorRenderer(OperatorRendererResolver opRendererResolver, IAttributePropagationAlgorithm propagationAlgorithm)
 {
     this._opRendererResolver   = opRendererResolver;
     this._propagationAlgorithm = propagationAlgorithm;
 }