Uses of Interface
org.apache.hadoop.hbase.util.PositionedByteRange
Packages that use PositionedByteRange
Package
Description
This package provides the definition and implementation of HBase's
extensible data type API.
-
Uses of PositionedByteRange in org.apache.hadoop.hbase.types
Fields in org.apache.hadoop.hbase.types declared as PositionedByteRangeMethods in org.apache.hadoop.hbase.types with parameters of type PositionedByteRangeModifier and TypeMethodDescriptionDataType.decode(PositionedByteRange src) Read an instance ofTfrom the buffersrc.FixedLengthWrapper.decode(PositionedByteRange src) byte[]OrderedBlob.decode(PositionedByteRange src) byte[]OrderedBlobVar.decode(PositionedByteRange src) OrderedFloat32.decode(PositionedByteRange src) OrderedFloat64.decode(PositionedByteRange src) OrderedInt16.decode(PositionedByteRange src) OrderedInt32.decode(PositionedByteRange src) OrderedInt64.decode(PositionedByteRange src) OrderedInt8.decode(PositionedByteRange src) OrderedNumeric.decode(PositionedByteRange src) OrderedString.decode(PositionedByteRange src) org.apache.hadoop.hbase.example.protobuf.generated.CellMessage.CellPBCell.decode(PositionedByteRange src) RawByte.decode(PositionedByteRange src) byte[]RawBytes.decode(PositionedByteRange src) byte[]RawBytes.decode(PositionedByteRange src, int length) Read abyte[]from the buffersrc.byte[]RawBytesFixedLength.decode(PositionedByteRange src, int length) Read abyte[]from the buffersrc.byte[]RawBytesTerminated.decode(PositionedByteRange src, int length) Read abyte[]from the buffersrc.RawDouble.decode(PositionedByteRange src) RawFloat.decode(PositionedByteRange src) RawInteger.decode(PositionedByteRange src) RawLong.decode(PositionedByteRange src) RawShort.decode(PositionedByteRange src) RawString.decode(PositionedByteRange src) Object[]Struct.decode(PositionedByteRange src) Struct.decode(PositionedByteRange src, int index) Read the field atindex.TerminatedWrapper.decode(PositionedByteRange src) Union2.decodeA(PositionedByteRange src) Read an instance of the first type parameter from buffersrc.Union2.decodeB(PositionedByteRange src) Read an instance of the second type parameter from buffersrc.byteOrderedInt8.decodeByte(PositionedByteRange src) Read abytevalue from the buffersrc.Union3.decodeC(PositionedByteRange src) Read an instance of the third type parameter from buffersrc.Union4.decodeD(PositionedByteRange src) Read an instance of the fourth type parameter from buffersrc.doubleOrderedFloat64.decodeDouble(PositionedByteRange src) Read adoublevalue from the buffersrc.doubleOrderedNumeric.decodeDouble(PositionedByteRange src) Read adoublevalue from the buffersrc.floatOrderedFloat32.decodeFloat(PositionedByteRange dst) Read afloatvalue from the bufferdst.intOrderedInt32.decodeInt(PositionedByteRange src) Read anintvalue from the buffersrc.longOrderedInt64.decodeLong(PositionedByteRange src) Read alongvalue from the buffersrc.longOrderedNumeric.decodeLong(PositionedByteRange src) Read alongvalue from the buffersrc.shortOrderedInt16.decodeShort(PositionedByteRange src) Read ashortvalue from the buffersrc.intDataType.encode(PositionedByteRange dst, T val) Write instancevalinto bufferdst.intFixedLengthWrapper.encode(PositionedByteRange dst, T val) intOrderedBlob.encode(PositionedByteRange dst, byte[] val) intOrderedBlob.encode(PositionedByteRange dst, byte[] val, int voff, int vlen) Write a subset ofvaltodst.intOrderedBlobVar.encode(PositionedByteRange dst, byte[] val) intOrderedBlobVar.encode(PositionedByteRange dst, byte[] val, int voff, int vlen) Write a subset ofvaltodst.intOrderedFloat32.encode(PositionedByteRange dst, Float val) intOrderedFloat64.encode(PositionedByteRange dst, Double val) intOrderedInt16.encode(PositionedByteRange dst, Short val) intOrderedInt32.encode(PositionedByteRange dst, Integer val) intOrderedInt64.encode(PositionedByteRange dst, Long val) intOrderedInt8.encode(PositionedByteRange dst, Byte val) intOrderedNumeric.encode(PositionedByteRange dst, Number val) intOrderedString.encode(PositionedByteRange dst, String val) intPBCell.encode(PositionedByteRange dst, org.apache.hadoop.hbase.example.protobuf.generated.CellMessage.Cell val) intRawByte.encode(PositionedByteRange dst, Byte val) intRawBytes.encode(PositionedByteRange dst, byte[] val) intRawBytes.encode(PositionedByteRange dst, byte[] val, int voff, int vlen) Writevalintodst, respectingvoffandvlen.intRawBytesFixedLength.encode(PositionedByteRange dst, byte[] val, int voff, int vlen) Writevalintobuff, respectingoffsetandlength.intRawBytesTerminated.encode(PositionedByteRange dst, byte[] val, int voff, int vlen) Writevalintodst, respectingoffsetandlength.intRawDouble.encode(PositionedByteRange dst, Double val) intRawFloat.encode(PositionedByteRange dst, Float val) intRawInteger.encode(PositionedByteRange dst, Integer val) intRawLong.encode(PositionedByteRange dst, Long val) intRawShort.encode(PositionedByteRange dst, Short val) intRawString.encode(PositionedByteRange dst, String val) intStruct.encode(PositionedByteRange dst, Object[] val) intTerminatedWrapper.encode(PositionedByteRange dst, T val) Write instancevalinto bufferdst.intOrderedInt8.encodeByte(PositionedByteRange dst, byte val) Write instancevalinto bufferdst.intOrderedFloat64.encodeDouble(PositionedByteRange dst, double val) Write instancevalinto bufferdst.intOrderedNumeric.encodeDouble(PositionedByteRange dst, double val) Write instancevalinto bufferdst.intOrderedFloat32.encodeFloat(PositionedByteRange dst, float val) Write instancevalinto bufferbuff.intOrderedInt32.encodeInt(PositionedByteRange dst, int val) Write instancevalinto bufferdst.intOrderedInt64.encodeLong(PositionedByteRange dst, long val) Write instancevalinto bufferdst.intOrderedNumeric.encodeLong(PositionedByteRange dst, long val) Write instancevalinto bufferdst.intOrderedInt16.encodeShort(PositionedByteRange dst, short val) Write instancevalinto bufferdst.static org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStreamPBType.inputStreamFromByteRange(PositionedByteRange src) Create aCodedInputStreamfrom aPositionedByteRange.Struct.iterator(PositionedByteRange src) Retrieve anIteratorover the values encoded insrc.static org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStreamPBType.outputStreamFromByteRange(PositionedByteRange dst) Create aCodedOutputStreamfrom aPositionedByteRange.intDataType.skip(PositionedByteRange src) Skipsrc's position forward over one encoded value.intFixedLengthWrapper.skip(PositionedByteRange src) intOrderedBytesBase.skip(PositionedByteRange src) intPBCell.skip(PositionedByteRange src) intRawByte.skip(PositionedByteRange src) intRawBytes.skip(PositionedByteRange src) intRawDouble.skip(PositionedByteRange src) intRawFloat.skip(PositionedByteRange src) intRawInteger.skip(PositionedByteRange src) intRawLong.skip(PositionedByteRange src) intRawShort.skip(PositionedByteRange src) intRawString.skip(PositionedByteRange src) intStruct.skip(PositionedByteRange src) intTerminatedWrapper.skip(PositionedByteRange src) Skipsrc's position forward over one encoded value.protected intTerminatedWrapper.terminatorPosition(PositionedByteRange src) Return the position at whichtermbegins withinsrc, or-1iftermis not found.Constructors in org.apache.hadoop.hbase.types with parameters of type PositionedByteRangeModifierConstructorDescriptionStructIterator(PositionedByteRange src, DataType[] types) ConstructStructIteratorover the values encoded insrcusing the specifiedtypesdefinition. -
Uses of PositionedByteRange in org.apache.hadoop.hbase.util
Classes in org.apache.hadoop.hbase.util that implement PositionedByteRangeModifier and TypeClassDescriptionclassExtends the basicSimpleByteRangeimplementation with position support.classExtends the basicSimpleMutableByteRangeimplementation with position support and it is a readonly version.classExtends the basicAbstractPositionedByteRangeimplementation with position support and it is a mutable version.Methods in org.apache.hadoop.hbase.util that return PositionedByteRangeModifier and TypeMethodDescriptionPositionedByteRange.deepCopy()SimplePositionedByteRange.deepCopy()SimplePositionedMutableByteRange.deepCopy()AbstractPositionedByteRange.get(byte[] dst) AbstractPositionedByteRange.get(byte[] dst, int offset, int length) AbstractPositionedByteRange.get(int index, byte[] dst) AbstractPositionedByteRange.get(int index, byte[] dst, int offset, int length) PositionedByteRange.get(byte[] dst) Filldstwith bytes from the range, starting fromposition.PositionedByteRange.get(byte[] dst, int offset, int length) Filldstwith bytes from the range, starting from the currentposition.PositionedByteRange.get(int index, byte[] dst) PositionedByteRange.get(int index, byte[] dst, int offset, int length) SimplePositionedByteRange.get(int index, byte[] dst) SimplePositionedByteRange.get(int index, byte[] dst, int offset, int length) SimplePositionedMutableByteRange.get(int index, byte[] dst) SimplePositionedMutableByteRange.get(int index, byte[] dst, int offset, int length) PositionedByteRange.put(byte val) Storevalat the next position in this range.PositionedByteRange.put(byte[] val) Store the content ofvalin this range, starting at the next position.PositionedByteRange.put(byte[] val, int offset, int length) Storelengthbytes fromvalinto this range.PositionedByteRange.put(int index, byte val) PositionedByteRange.put(int index, byte[] val) PositionedByteRange.put(int index, byte[] val, int offset, int length) SimplePositionedByteRange.put(byte val) SimplePositionedByteRange.put(byte[] val) SimplePositionedByteRange.put(byte[] val, int offset, int length) SimplePositionedByteRange.put(int index, byte val) SimplePositionedByteRange.put(int index, byte[] val) SimplePositionedByteRange.put(int index, byte[] val, int offset, int length) SimplePositionedMutableByteRange.put(byte val) SimplePositionedMutableByteRange.put(byte[] val) SimplePositionedMutableByteRange.put(byte[] val, int offset, int length) SimplePositionedMutableByteRange.put(int index, byte val) SimplePositionedMutableByteRange.put(int index, byte[] val) SimplePositionedMutableByteRange.put(int index, byte[] val, int offset, int length) PositionedByteRange.putInt(int val) Store intvalat the next position in this range.PositionedByteRange.putInt(int index, int val) SimplePositionedByteRange.putInt(int val) SimplePositionedByteRange.putInt(int index, int val) SimplePositionedMutableByteRange.putInt(int val) SimplePositionedMutableByteRange.putInt(int index, int val) PositionedByteRange.putLong(int index, long val) PositionedByteRange.putLong(long val) Store longvalat the next position in this range.SimplePositionedByteRange.putLong(int index, long val) SimplePositionedByteRange.putLong(long val) SimplePositionedMutableByteRange.putLong(int index, long val) SimplePositionedMutableByteRange.putLong(long val) PositionedByteRange.putShort(int index, short val) PositionedByteRange.putShort(short val) Store shortvalat the next position in this range.SimplePositionedByteRange.putShort(int index, short val) SimplePositionedByteRange.putShort(short val) SimplePositionedMutableByteRange.putShort(int index, short val) SimplePositionedMutableByteRange.putShort(short val) AbstractPositionedByteRange.set(byte[] bytes) AbstractPositionedByteRange.set(byte[] bytes, int offset, int length) AbstractPositionedByteRange.set(int capacity) PositionedByteRange.set(byte[] bytes) PositionedByteRange.set(byte[] bytes, int offset, int length) PositionedByteRange.set(int capacity) SimplePositionedByteRange.set(byte[] bytes) SimplePositionedByteRange.set(byte[] bytes, int offset, int length) SimplePositionedByteRange.set(int capacity) SimplePositionedMutableByteRange.set(byte[] bytes) SimplePositionedMutableByteRange.set(byte[] bytes, int offset, int length) SimplePositionedMutableByteRange.set(int capacity) AbstractPositionedByteRange.setLength(int length) Update the length of this range.PositionedByteRange.setLength(int length) SimplePositionedMutableByteRange.setLength(int length) Update the length of this range.AbstractPositionedByteRange.setLimit(int limit) PositionedByteRange.setLimit(int limit) Limits the byte range upto a specified value.SimplePositionedByteRange.setLimit(int limit) AbstractPositionedByteRange.setOffset(int offset) Update the beginning of this range.PositionedByteRange.setOffset(int offset) SimplePositionedMutableByteRange.setOffset(int offset) Update the beginning of this range.AbstractPositionedByteRange.setPosition(int position) PositionedByteRange.setPosition(int position) Update thepositionindex.PositionedByteRange.shallowCopy()SimplePositionedByteRange.shallowCopy()SimplePositionedMutableByteRange.shallowCopy()PositionedByteRange.shallowCopySubRange(int innerOffset, int copyLength) SimplePositionedByteRange.shallowCopySubRange(int innerOffset, int copyLength) SimplePositionedMutableByteRange.shallowCopySubRange(int innerOffset, int copyLength) PositionedByteRange.unset()SimplePositionedByteRange.unset()SimplePositionedMutableByteRange.unset()Methods in org.apache.hadoop.hbase.util with parameters of type PositionedByteRangeModifier and TypeMethodDescriptionstatic byte[]OrderedBytes.decodeBlobCopy(PositionedByteRange src) Decode a Blob value, byte-for-byte copy.static byte[]OrderedBytes.decodeBlobVar(PositionedByteRange src) Decode a blob value that was encoded using BlobVar encoding.static floatOrderedBytes.decodeFloat32(PositionedByteRange src) Decode a 32-bit floating point value using the fixed-length encoding.static doubleOrderedBytes.decodeFloat64(PositionedByteRange src) Decode a 64-bit floating point value using the fixed-length encoding.static shortOrderedBytes.decodeInt16(PositionedByteRange src) Decode anint16value.static intOrderedBytes.decodeInt32(PositionedByteRange src) Decode anint32value.static longOrderedBytes.decodeInt64(PositionedByteRange src) Decode anint64value.static byteOrderedBytes.decodeInt8(PositionedByteRange src) Decode anint8value.static BigDecimalOrderedBytes.decodeNumericAsBigDecimal(PositionedByteRange src) Decode aBigDecimalvalue from the variable-length encoding.static doubleOrderedBytes.decodeNumericAsDouble(PositionedByteRange src) Decode a primitivedoublevalue from the Numeric encoding.static longOrderedBytes.decodeNumericAsLong(PositionedByteRange src) Decode a primitivelongvalue from the Numeric encoding.private static BigDecimalOrderedBytes.decodeNumericValue(PositionedByteRange src) Decode aBigDecimalfromsrc.private static BigDecimalOrderedBytes.decodeSignificand(PositionedByteRange src, int e, boolean comp) Read significand digits fromsrcaccording to the magnitude ofe.static StringOrderedBytes.decodeString(PositionedByteRange src) Decode a String value.static intOrderedBytes.encodeBlobCopy(PositionedByteRange dst, byte[] val, int voff, int vlen, Order ord) Encode a Blob value as a byte-for-byte copy.static intOrderedBytes.encodeBlobCopy(PositionedByteRange dst, byte[] val, Order ord) Encode a Blob value as a byte-for-byte copy.static intOrderedBytes.encodeBlobVar(PositionedByteRange dst, byte[] val, int voff, int vlen, Order ord) Encode a Blob value using a modified varint encoding scheme.static intOrderedBytes.encodeBlobVar(PositionedByteRange dst, byte[] val, Order ord) Encode a blob value using a modified varint encoding scheme.static intOrderedBytes.encodeFloat32(PositionedByteRange dst, float val, Order ord) Encode a 32-bit floating point value using the fixed-length encoding.static intOrderedBytes.encodeFloat64(PositionedByteRange dst, double val, Order ord) Encode a 64-bit floating point value using the fixed-length encoding.static intOrderedBytes.encodeInt16(PositionedByteRange dst, short val, Order ord) Encode anint16value using the fixed-length encoding.static intOrderedBytes.encodeInt32(PositionedByteRange dst, int val, Order ord) Encode anint32value using the fixed-length encoding.static intOrderedBytes.encodeInt64(PositionedByteRange dst, long val, Order ord) Encode anint64value using the fixed-length encoding.static intOrderedBytes.encodeInt8(PositionedByteRange dst, byte val, Order ord) Encode anint8value using the fixed-length encoding.static intOrderedBytes.encodeNull(PositionedByteRange dst, Order ord) Encode a null value.static intOrderedBytes.encodeNumeric(PositionedByteRange dst, double val, Order ord) Encode a numerical value using the variable-length encoding.static intOrderedBytes.encodeNumeric(PositionedByteRange dst, long val, Order ord) Encode a numerical value using the variable-length encoding.static intOrderedBytes.encodeNumeric(PositionedByteRange dst, BigDecimal val, Order ord) Encode a numerical value using the variable-length encoding.private static intOrderedBytes.encodeNumericLarge(PositionedByteRange dst, BigDecimal val) Encode the large magnitude floating point numbervalusing the key encoding.private static intOrderedBytes.encodeNumericSmall(PositionedByteRange dst, BigDecimal val) Encode the small magnitude floating point numbervalusing the key encoding.static intOrderedBytes.encodeString(PositionedByteRange dst, String val, Order ord) Encode a String value.private static voidOrderedBytes.encodeToCentimal(PositionedByteRange dst, BigDecimal val) Encode a value val in [0.01, 1.0) into Centimals.(package private) static longOrderedBytes.getVaruint64(PositionedByteRange src, boolean comp) Decode a sequence of bytes insrcas a varuint64.static booleanOrderedBytes.isBlobCopy(PositionedByteRange src) Return true when the next encoded value insrcuses BlobCopy encoding, false otherwise.static booleanOrderedBytes.isBlobVar(PositionedByteRange src) Return true when the next encoded value insrcuses BlobVar encoding, false otherwise.static booleanOrderedBytes.isEncodedValue(PositionedByteRange src) Returns true whensrcappears to be positioned an encoded value, false otherwise.static booleanOrderedBytes.isFixedFloat32(PositionedByteRange src) Return true when the next encoded value insrcuses fixed-width Float32 encoding, false otherwise.static booleanOrderedBytes.isFixedFloat64(PositionedByteRange src) Return true when the next encoded value insrcuses fixed-width Float64 encoding, false otherwise.static booleanOrderedBytes.isFixedInt16(PositionedByteRange src) Return true when the next encoded value insrcuses fixed-width Int16 encoding, false otherwise.static booleanOrderedBytes.isFixedInt32(PositionedByteRange src) Return true when the next encoded value insrcuses fixed-width Int32 encoding, false otherwise.static booleanOrderedBytes.isFixedInt64(PositionedByteRange src) Return true when the next encoded value insrcuses fixed-width Int64 encoding, false otherwise.static booleanOrderedBytes.isFixedInt8(PositionedByteRange src) Return true when the next encoded value insrcuses fixed-width Int8 encoding, false otherwise.static booleanOrderedBytes.isNull(PositionedByteRange src) Return true when the next encoded value insrcis null, false otherwise.static booleanOrderedBytes.isNumeric(PositionedByteRange src) Return true when the next encoded value insrcuses Numeric encoding, false otherwise.static booleanOrderedBytes.isNumericInfinite(PositionedByteRange src) Return true when the next encoded value insrcuses Numeric encoding and isInfinite, false otherwise.static booleanOrderedBytes.isNumericNaN(PositionedByteRange src) Return true when the next encoded value insrcuses Numeric encoding and isNaN, false otherwise.static booleanOrderedBytes.isNumericZero(PositionedByteRange src) Return true when the next encoded value insrcuses Numeric encoding and is0, false otherwise.static booleanOrderedBytes.isText(PositionedByteRange src) Return true when the next encoded value insrcuses Text encoding, false otherwise.static intOrderedBytes.length(PositionedByteRange buff) Return the number of encoded entries remaining inbuff.(package private) static intOrderedBytes.lengthVaruint64(PositionedByteRange src, boolean comp) Inspectsrcfor an encoded varuint64 for its length in bytes.private static intOrderedBytes.putUint32(PositionedByteRange dst, int val) Write a 32-bit unsigned integer todstas 4 big-endian bytes.(package private) static intOrderedBytes.putVaruint64(PositionedByteRange dst, long val, boolean comp) Encode an unsigned 64-bit unsigned integervalintodst.static intOrderedBytes.skip(PositionedByteRange src) Skipbuff's position forward over one encoded value.private static intOrderedBytes.skipSignificand(PositionedByteRange src, boolean comp) Skipsrcover the significand bytes.(package private) static intOrderedBytes.skipVaruint64(PositionedByteRange src, boolean cmp) Skipsrcover the encoded varuint64.