public class BlockHandle extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ENCODED_LENGTH |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getFullBlockSize() |
int |
hashCode() |
long |
offset() |
static BlockHandle |
readBlockHandle(MemorySliceInput sliceInput) |
int |
size() |
String |
toString() |
static MemorySlice |
writeBlockHandle(BlockHandle blockHandle) |
static void |
writeBlockHandleTo(BlockHandle blockHandle,
MemorySliceOutput sliceOutput) |
public static final int MAX_ENCODED_LENGTH
public long offset()
public int size()
public int getFullBlockSize()
public static BlockHandle readBlockHandle(MemorySliceInput sliceInput)
public static MemorySlice writeBlockHandle(BlockHandle blockHandle)
public static void writeBlockHandleTo(BlockHandle blockHandle, MemorySliceOutput sliceOutput)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.