Package io.trino.parquet.reader.decoders
Class DeltaLengthByteArrayDecoders.BoundedVarcharDeltaLengthDecoder
java.lang.Object
io.trino.parquet.reader.decoders.DeltaLengthByteArrayDecoders.BoundedVarcharDeltaLengthDecoder
- All Implemented Interfaces:
ValueDecoder<BinaryBuffer>
- Enclosing class:
- DeltaLengthByteArrayDecoders
public static final class DeltaLengthByteArrayDecoders.BoundedVarcharDeltaLengthDecoder
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final recordNested classes/interfaces inherited from interface io.trino.parquet.reader.decoders.ValueDecoder
ValueDecoder.EmptyValueDecoder<T>, ValueDecoder.LevelsDecoderProvider, ValueDecoder.ValueDecodersProvider<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInputAndMaxLength(int length) protected intgetInputLength(int length) voidinit(SimpleSliceInputStream input) voidread(BinaryBuffer values, int offset, int length) protected voidreadBounded(BinaryBuffer values, int offset, int length, int totalInputLength) protected voidreadUnbounded(BinaryBuffer values, int offset, int length, int totalInputLength) voidskip(int n) protected inttruncatedLength(io.airlift.slice.Slice slice, int offset, int length)
-
Constructor Details
-
BoundedVarcharDeltaLengthDecoder
-
-
Method Details
-
read
-
truncatedLength
protected int truncatedLength(io.airlift.slice.Slice slice, int offset, int length) -
init
- Specified by:
initin interfaceValueDecoder<BinaryBuffer>
-
skip
public void skip(int n) - Specified by:
skipin interfaceValueDecoder<BinaryBuffer>
-
getInputLength
protected int getInputLength(int length) -
getInputAndMaxLength
protected DeltaLengthByteArrayDecoders.AbstractDeltaLengthDecoder.InputLengths getInputAndMaxLength(int length) -
readUnbounded
-
readBounded
-