File tree Expand file tree Collapse file tree
java/io/github/dfa1/vortex/encoding
resources/META-INF/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package io .github .dfa1 .vortex .encoding ;
2+
3+ import io .github .dfa1 .vortex .core .DType ;
4+ import io .github .dfa1 .vortex .core .VortexException ;
5+ import io .github .dfa1 .vortex .core .array .Array ;
6+
7+ /// Stub for {@code vortex.masked} — not yet implemented.
8+ public final class MaskedEncoding implements Encoding {
9+
10+ @ Override
11+ public EncodingId encodingId () {
12+ return EncodingId .VORTEX_MASKED ;
13+ }
14+
15+ @ Override
16+ public EncodeResult encode (DType dtype , Object data ) {
17+ throw new VortexException (EncodingId .VORTEX_MASKED , "not yet implemented" );
18+ }
19+
20+ @ Override
21+ public Array decode (DecodeContext ctx ) {
22+ throw new VortexException (EncodingId .VORTEX_MASKED , "not yet implemented" );
23+ }
24+ }
Original file line number Diff line number Diff line change 1+ package io .github .dfa1 .vortex .encoding ;
2+
3+ import io .github .dfa1 .vortex .core .DType ;
4+ import io .github .dfa1 .vortex .core .VortexException ;
5+ import io .github .dfa1 .vortex .core .array .Array ;
6+
7+ /// Stub for {@code vortex.patched} — not yet implemented.
8+ public final class PatchedEncoding implements Encoding {
9+
10+ @ Override
11+ public EncodingId encodingId () {
12+ return EncodingId .VORTEX_PATCHED ;
13+ }
14+
15+ @ Override
16+ public EncodeResult encode (DType dtype , Object data ) {
17+ throw new VortexException (EncodingId .VORTEX_PATCHED , "not yet implemented" );
18+ }
19+
20+ @ Override
21+ public Array decode (DecodeContext ctx ) {
22+ throw new VortexException (EncodingId .VORTEX_PATCHED , "not yet implemented" );
23+ }
24+ }
Original file line number Diff line number Diff line change 1+ package io .github .dfa1 .vortex .encoding ;
2+
3+ import io .github .dfa1 .vortex .core .DType ;
4+ import io .github .dfa1 .vortex .core .VortexException ;
5+ import io .github .dfa1 .vortex .core .array .Array ;
6+
7+ /// Stub for {@code vortex.variant} — not yet implemented.
8+ public final class VariantEncoding implements Encoding {
9+
10+ @ Override
11+ public EncodingId encodingId () {
12+ return EncodingId .VORTEX_VARIANT ;
13+ }
14+
15+ @ Override
16+ public EncodeResult encode (DType dtype , Object data ) {
17+ throw new VortexException (EncodingId .VORTEX_VARIANT , "not yet implemented" );
18+ }
19+
20+ @ Override
21+ public Array decode (DecodeContext ctx ) {
22+ throw new VortexException (EncodingId .VORTEX_VARIANT , "not yet implemented" );
23+ }
24+ }
Original file line number Diff line number Diff line change @@ -28,3 +28,6 @@ io.github.dfa1.vortex.encoding.VarBinEncoding
2828io.github.dfa1.vortex.encoding.VarBinViewEncoding
2929io.github.dfa1.vortex.encoding.ZigZagEncoding
3030io.github.dfa1.vortex.encoding.ZstdEncoding
31+ io.github.dfa1.vortex.encoding.MaskedEncoding
32+ io.github.dfa1.vortex.encoding.PatchedEncoding
33+ io.github.dfa1.vortex.encoding.VariantEncoding
You can’t perform that action at this time.
0 commit comments