public abstract class TypeSizes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TypeSizes.NativeDBTypeSizes |
static class |
TypeSizes.VIntEncodedTypeSizes |
Modifier and Type | Field and Description |
---|---|
static TypeSizes |
NATIVE |
static TypeSizes |
VINT |
Constructor and Description |
---|
TypeSizes() |
Modifier and Type | Method and Description |
---|---|
static int |
encodedUTF8Length(java.lang.String st) |
abstract int |
sizeof(boolean value) |
abstract int |
sizeof(int value) |
abstract int |
sizeof(long value) |
abstract int |
sizeof(short value) |
int |
sizeof(java.lang.String value)
assumes UTF8
|
abstract int |
sizeof(java.util.UUID value) |
int |
sizeofWithLength(java.nio.ByteBuffer value) |
int |
sizeofWithShortLength(java.nio.ByteBuffer value) |
public abstract int sizeof(boolean value)
public abstract int sizeof(short value)
public abstract int sizeof(int value)
public abstract int sizeof(long value)
public abstract int sizeof(java.util.UUID value)
public int sizeof(java.lang.String value)
public static int encodedUTF8Length(java.lang.String st)
public int sizeofWithShortLength(java.nio.ByteBuffer value)
public int sizeofWithLength(java.nio.ByteBuffer value)
Copyright © 2018 The Apache Software Foundation