Skip to content

Commit 827b3f9

Browse files
dfa1claude
andcommitted
refactor(reader): FlatSegmentDecoder is package-private
Public but used nowhere outside the reader package; the layout machinery (ScanIterator dispatch, VortexHandle impls) is its only audience. VortexHandle.registry() javadoc no longer cross-refs the now-hidden type. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3c412b4 commit 827b3f9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

reader/src/main/java/io/github/dfa1/vortex/reader/FlatSegmentDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
///
2424
/// [ReadRegistry] is pure dispatch; this class owns all file-format knowledge:
2525
/// FlatBuffer parsing, buffer-offset arithmetic, and encoding-spec lookup.
26-
public final class FlatSegmentDecoder {
26+
final class FlatSegmentDecoder {
2727

2828
/// Hard cap on array-node recursion depth. The encoded array tree nests through child nodes
2929
/// (validity, patches, run-ends, dictionary codes/values, …); a crafted or self-referential

reader/src/main/java/io/github/dfa1/vortex/reader/VortexHandle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public interface VortexHandle extends Closeable {
4848
/// Returns the [ReadRegistry] this handle was opened with.
4949
///
5050
/// **Internal escape hatch.** Exposed for tooling
51-
/// (e.g. the inspector's dictionary preview) that needs to decode an
52-
/// internal subtree node directly via [io.github.dfa1.vortex.reader.FlatSegmentDecoder].
51+
/// (e.g. the inspector's dictionary preview) that needs to resolve encoding
52+
/// decoders for an internal subtree node.
5353
/// Not part of the supported stability contract; signatures may change
5454
/// without deprecation.
5555
///

0 commit comments

Comments
 (0)