You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sdl.html
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ <h3>Root Structs</h3>
77
77
Timestamp uint64
78
78
Span Span
79
79
}</code></pre>
80
-
<p>When multiple root structs are defined, each record in the stream will be one of the root types, and the STEF format includes type information to distinguish between them during deserialization.</p>
80
+
<p>When multiple root structs are defined, each record in the stream will be one of the root types.</p>
81
81
82
82
<h3>Dictionary Compression</h3>
83
83
<p>Fields can use dictionary compression for repeated values using the <code>dict</code> modifier:</p>
<li><strong>Go</strong> - Generates Go structs with serialization methods</li>
88
-
<li><strong>Java</strong> - Generates Java classes with serialization support</li>
89
-
</ul>
90
-
91
85
<h2>Generated Code Structure</h2>
92
86
93
87
<p>stefgen creates:</p>
94
88
<ul>
95
89
<li>Struct, oneof and multimap definitions matching your STEF schema</li>
96
90
<li>Type-safe accessors for all fields</li>
97
-
<li>Reader for deserialization</li>
98
-
<li>Writer for serialization</li>
99
-
<li>Read/write unit tests with randomized inputs, matching the schema</li>
91
+
<li>Reader for deserialization for every root struct</li>
92
+
<li>Writer for serialization for every root struct</li>
93
+
<li>Read/write unit tests with randomized inputs</li>
100
94
</ul>
101
95
102
96
<h2>Example Workflow</h2>
@@ -134,7 +128,7 @@ <h3>3. Use Generated Code</h3>
134
128
// Flush the stream to the buffer.
135
129
writer.Flush()</code></pre>
136
130
137
-
<pclass="footer-note">For more information about STEF schema syntax and features, see the <ahref="https://github.com/splunk/stef/blob/main/stef-spec/specification.md">STEF Specification</a>.</p>
131
+
<pclass="footer-note">For more information about STEF schema syntax and features, see the <ahref="sdl.html">STEF Schema Definition Language</a>.</p>
0 commit comments