Esempio n. 1
0
        private void InitializeSourceForStreaming(HqlDataSource src)
        {
            if (src.OnJoin == null)
            {
                src.InitJoining();
            }
            src.LoadFieldReferences(_select.FieldGroup);
            src.LoadFieldReferences(_where.EvaluationCriteria);
            src.LoadFieldReferences(_groupby.FieldGroup);
            src.LoadFieldReferences(_orderby.FieldGroup);
            if (_settings.PrintCategorizeFilename)
            {
                src.LoadFieldReferences(_settings.Output.FieldGroup);
            }

            for (int j = 0; j < _from.Count; ++j)
            {
                if (_from[j].OnJoin != null)
                {
                    src.LoadFieldReferences(_from[j].OnJoin.EvaluationCriteria);
                }
            }

            src.BuildBlankValues();
        }