<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wandora.org/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wandora.org/w/index.php?action=history&amp;feed=atom&amp;title=Of_%28query_directive%29</id>
		<title>Of (query directive) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wandora.org/w/index.php?action=history&amp;feed=atom&amp;title=Of_%28query_directive%29"/>
		<link rel="alternate" type="text/html" href="http://wandora.org/w/index.php?title=Of_(query_directive)&amp;action=history"/>
		<updated>2026-04-18T12:52:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>http://wandora.org/w/index.php?title=Of_(query_directive)&amp;diff=6891&amp;oldid=prev</id>
		<title>Olli at 09:20, 20 August 2009</title>
		<link rel="alternate" type="text/html" href="http://wandora.org/w/index.php?title=Of_(query_directive)&amp;diff=6891&amp;oldid=prev"/>
				<updated>2009-08-20T09:20:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:20, 20 August 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Notes ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Notes ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This directive is best used using the of method present in every directive. Calling A.of(&amp;quot;role&amp;quot;) will resolve to A.from(new Of(&amp;quot;role&amp;quot;)) which resolves to new From(A,new Of(&amp;quot;role&amp;quot;)). Usually this is followed by a call to from method, for example A.of(&amp;quot;role&amp;quot;).from(B). This will take results from B, change the active column and then feed them to A. Call to of must be before from to get the expected results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This directive is best used using the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;of&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;method present in every directive. Calling &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;A.of(&amp;quot;role&amp;quot;)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;will resolve to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;A.from(new Of(&amp;quot;role&amp;quot;))&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;which resolves to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;new From(A,new Of(&amp;quot;role&amp;quot;))&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;. Usually this is followed by a call to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;from&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;method, for example &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;A.of(&amp;quot;role&amp;quot;).from(B)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;. This will take results from B, change the active column and then feed them to A. Call to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;of&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;must be before &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;from&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;to get the expected results&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;== Examples ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; 1 importPackage(org.wandora.query2);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; 2 new Join(&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; 3&amp;#160;  new BaseName().of(&amp;quot;#input&amp;quot;).as(&amp;quot;#inputbn&amp;quot;),&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; 4&amp;#160;  new BaseName().of(&amp;quot;#instance&amp;quot;).as(&amp;quot;#instancebn&amp;quot;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; 5 ).from(&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; 6&amp;#160;  new Instances().as(&amp;quot;#instance&amp;quot;).from(&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; 7&amp;#160; &amp;#160;  new As(&amp;quot;#input&amp;quot;))&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; 8 )&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The ''of'' method call on line 3 is necessary because the active column is &amp;quot;#instance&amp;quot; from line 6. On line 4 it is not necessary but it makes the whole query more readable&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Query directives]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Query directives]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Olli</name></author>	</entry>

	<entry>
		<id>http://wandora.org/w/index.php?title=Of_(query_directive)&amp;diff=6861&amp;oldid=prev</id>
		<title>Olli at 07:44, 20 August 2009</title>
		<link rel="alternate" type="text/html" href="http://wandora.org/w/index.php?title=Of_(query_directive)&amp;diff=6861&amp;oldid=prev"/>
				<updated>2009-08-20T07:44:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 07:44, 20 August 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This directive is best used using the of method present in every directive. Calling A.of(&amp;quot;role&amp;quot;) will resolve to A.from(new Of(&amp;quot;role&amp;quot;)) which resolves to new From(A,new Of(&amp;quot;role&amp;quot;)). Usually this is followed by a call to from method, for example A.of(&amp;quot;role&amp;quot;).from(B). This will take results from B, change the active column and then feed them to A. Call to of must be before from to get the expected results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This directive is best used using the of method present in every directive. Calling A.of(&amp;quot;role&amp;quot;) will resolve to A.from(new Of(&amp;quot;role&amp;quot;)) which resolves to new From(A,new Of(&amp;quot;role&amp;quot;)). Usually this is followed by a call to from method, for example A.of(&amp;quot;role&amp;quot;).from(B). This will take results from B, change the active column and then feed them to A. Call to of must be before from to get the expected results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Query directives]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Olli</name></author>	</entry>

	<entry>
		<id>http://wandora.org/w/index.php?title=Of_(query_directive)&amp;diff=6855&amp;oldid=prev</id>
		<title>Olli at 07:41, 20 August 2009</title>
		<link rel="alternate" type="text/html" href="http://wandora.org/w/index.php?title=Of_(query_directive)&amp;diff=6855&amp;oldid=prev"/>
				<updated>2009-08-20T07:41:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Description ==&lt;br /&gt;
&lt;br /&gt;
Changes the active column of input to the specified column. &lt;br /&gt;
&lt;br /&gt;
== Constructor ==&lt;br /&gt;
&lt;br /&gt;
Of(String role) &lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
This directive is best used using the of method present in every directive. Calling A.of(&amp;quot;role&amp;quot;) will resolve to A.from(new Of(&amp;quot;role&amp;quot;)) which resolves to new From(A,new Of(&amp;quot;role&amp;quot;)). Usually this is followed by a call to from method, for example A.of(&amp;quot;role&amp;quot;).from(B). This will take results from B, change the active column and then feed them to A. Call to of must be before from to get the expected results.&lt;/div&gt;</summary>
		<author><name>Olli</name></author>	</entry>

	</feed>