~nbrinza/zorba/parse-fragment

« back to all changes in this revision

Viewing changes to test/rbkt/ExpCompilerResults/IterPlan/zorba/hashjoins/9204.iter

  • Committer: nbrinza at gmail
  • Date: 2013-04-09 14:34:55 UTC
  • mfrom: (10477.1.877 zorba)
  • Revision ID: nbrinza@gmail.com-20130409143455-wofxpaysvqjci57p
Merged with Zorba trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
      </OpToIterator>
9
9
    </HoistIterator>
10
10
  </LetVariable>
 
11
  <LetVariable name="$$opt_temp_4" materialize="true">
 
12
    <CreateInternalIndexIterator name="xs:QName(,,tempIndex0)">
 
13
      <flwor::FLWORIterator>
 
14
        <ForVariable name="$$opt_temp_2">
 
15
          <UnhoistIterator>
 
16
            <LetVarIterator varname="$$opt_temp_0"/>
 
17
          </UnhoistIterator>
 
18
        </ForVariable>
 
19
        <ReturnClause>
 
20
          <ValueIndexEntryBuilderIterator>
 
21
            <ForVarIterator varname="$$opt_temp_2"/>
 
22
            <ForVarIterator varname="$$opt_temp_2"/>
 
23
          </ValueIndexEntryBuilderIterator>
 
24
        </ReturnClause>
 
25
      </flwor::FLWORIterator>
 
26
    </CreateInternalIndexIterator>
 
27
  </LetVariable>
 
28
  <ForVariable name="book">
 
29
    <DescendantAxisIterator test kind="match_name_test" qname="xs:QName(,,book)" typename="*" nill allowed="0">
 
30
      <FnDocIterator>
 
31
        <SingletonIterator value="xs:string(books.xml)"/>
 
32
      </FnDocIterator>
 
33
    </DescendantAxisIterator>
 
34
  </ForVariable>
 
35
  <ForVariable name="$$opt_temp_1">
 
36
    <HoistIterator>
 
37
      <FnCountIterator>
 
38
        <ChildAxisIterator test kind="match_name_test" qname="xs:QName(,,author)" typename="*" nill allowed="0">
 
39
          <ForVarIterator varname="book"/>
 
40
        </ChildAxisIterator>
 
41
      </FnCountIterator>
 
42
    </HoistIterator>
 
43
  </ForVariable>
11
44
  <ReturnClause>
12
 
    <SequentialIterator>
13
 
      <CreateInternalIndexIterator name="xs:QName(,,tempIndex0)">
 
45
    <ElementIterator>
 
46
      <SingletonIterator value="xs:QName(,,karteikasten)"/>
 
47
      <EnclosedIterator attr_cont="false">
14
48
        <flwor::FLWORIterator>
15
 
          <ForVariable name="$$opt_temp_2">
16
 
            <UnhoistIterator>
17
 
              <LetVarIterator varname="$$opt_temp_0"/>
18
 
            </UnhoistIterator>
 
49
          <ForVariable name="anzahl">
 
50
            <ProbeIndexPointValueIterator>
 
51
              <SingletonIterator value="xs:QName(,,tempIndex0)"/>
 
52
              <UnhoistIterator>
 
53
                <ForVarIterator varname="$$opt_temp_1"/>
 
54
              </UnhoistIterator>
 
55
            </ProbeIndexPointValueIterator>
19
56
          </ForVariable>
20
57
          <ReturnClause>
21
 
            <ValueIndexEntryBuilderIterator>
22
 
              <ForVarIterator varname="$$opt_temp_2"/>
23
 
              <ForVarIterator varname="$$opt_temp_2"/>
24
 
            </ValueIndexEntryBuilderIterator>
 
58
            <ElementIterator>
 
59
              <SingletonIterator value="xs:QName(,,gruppe)"/>
 
60
              <AttributeIterator qname="xs:QName(,,anzahl)">
 
61
                <EnclosedIterator attr_cont="true">
 
62
                  <ForVarIterator varname="anzahl"/>
 
63
                </EnclosedIterator>
 
64
              </AttributeIterator>
 
65
              <EnclosedIterator attr_cont="false">
 
66
                <ForVarIterator varname="book"/>
 
67
              </EnclosedIterator>
 
68
            </ElementIterator>
25
69
          </ReturnClause>
26
70
        </flwor::FLWORIterator>
27
 
      </CreateInternalIndexIterator>
28
 
      <flwor::FLWORIterator>
29
 
        <ForVariable name="book">
30
 
          <DescendantAxisIterator test kind="match_name_test" qname="xs:QName(,,book)" typename="*" nill allowed="0">
31
 
            <FnDocIterator>
32
 
              <SingletonIterator value="xs:string(books.xml)"/>
33
 
            </FnDocIterator>
34
 
          </DescendantAxisIterator>
35
 
        </ForVariable>
36
 
        <ForVariable name="$$opt_temp_1">
37
 
          <HoistIterator>
38
 
            <FnCountIterator>
39
 
              <ChildAxisIterator test kind="match_name_test" qname="xs:QName(,,author)" typename="*" nill allowed="0">
40
 
                <ForVarIterator varname="book"/>
41
 
              </ChildAxisIterator>
42
 
            </FnCountIterator>
43
 
          </HoistIterator>
44
 
        </ForVariable>
45
 
        <ReturnClause>
46
 
          <ElementIterator>
47
 
            <SingletonIterator value="xs:QName(,,karteikasten)"/>
48
 
            <EnclosedIterator attr_cont="false">
49
 
              <flwor::FLWORIterator>
50
 
                <ForVariable name="anzahl">
51
 
                  <ProbeIndexPointValueIterator>
52
 
                    <SingletonIterator value="xs:QName(,,tempIndex0)"/>
53
 
                    <UnhoistIterator>
54
 
                      <ForVarIterator varname="$$opt_temp_1"/>
55
 
                    </UnhoistIterator>
56
 
                  </ProbeIndexPointValueIterator>
57
 
                </ForVariable>
58
 
                <ReturnClause>
59
 
                  <ElementIterator>
60
 
                    <SingletonIterator value="xs:QName(,,gruppe)"/>
61
 
                    <AttributeIterator qname="xs:QName(,,anzahl)">
62
 
                      <EnclosedIterator attr_cont="true">
63
 
                        <ForVarIterator varname="anzahl"/>
64
 
                      </EnclosedIterator>
65
 
                    </AttributeIterator>
66
 
                    <EnclosedIterator attr_cont="false">
67
 
                      <ForVarIterator varname="book"/>
68
 
                    </EnclosedIterator>
69
 
                  </ElementIterator>
70
 
                </ReturnClause>
71
 
              </flwor::FLWORIterator>
72
 
            </EnclosedIterator>
73
 
          </ElementIterator>
74
 
        </ReturnClause>
75
 
      </flwor::FLWORIterator>
76
 
    </SequentialIterator>
 
71
      </EnclosedIterator>
 
72
    </ElementIterator>
77
73
  </ReturnClause>
78
74
</flwor::FLWORIterator>
79
75