@Override public String getEncodingName() { assureLoaded(); return LazyBlockEncoding.NAME; }
@Override public Block getLoadedBlock() { assureLoaded(); return block; }
@Override public byte getByte(int position, int offset) { assureLoaded(); return block.getByte(position, offset); }
@Override public <T> T getObject(int position, Class<T> clazz) { assureLoaded(); return block.getObject(position, clazz); }
@Override public long hash(int position, int offset, int length) { assureLoaded(); return block.hash(position, offset, length); }
@Override public long getRetainedSizeInBytes() { assureLoaded(); return INSTANCE_SIZE + block.getRetainedSizeInBytes(); }
@Override public Block copyRegion(int position, int length) { assureLoaded(); return block.copyRegion(position, length); }
@Override public int getInt(int position, int offset) { assureLoaded(); return block.getInt(position, offset); }
@Override public boolean bytesEqual(int position, int offset, Slice otherSlice, int otherOffset, int length) { assureLoaded(); return block.bytesEqual(position, offset, otherSlice, otherOffset, length); }
@Override public boolean equals(int position, int offset, Block otherBlock, int otherPosition, int otherOffset, int length) { assureLoaded(); return block.equals(position, offset, otherBlock, otherPosition, otherOffset, length); }
@Override public Block getRegion(int positionOffset, int length) { assureLoaded(); return block.getRegion(positionOffset, length); }
@Override public int getSliceLength(int position) { assureLoaded(); return block.getSliceLength(position); }
@Override public long getLong(int position, int offset) { assureLoaded(); return block.getLong(position, offset); }
@Override public void writeBytesTo(int position, int offset, int length, BlockBuilder blockBuilder) { assureLoaded(); block.writeBytesTo(position, offset, length, blockBuilder); }
@Override public int compareTo(int leftPosition, int leftOffset, int leftLength, Block rightBlock, int rightPosition, int rightOffset, int rightLength) { assureLoaded(); return block.compareTo(leftPosition, leftOffset, leftLength, rightBlock, rightPosition, rightOffset, rightLength); }
@Override public long getPositionsSizeInBytes(boolean[] positions) { assureLoaded(); return block.getPositionsSizeInBytes(positions); }
@Override public boolean isNull(int position) { assureLoaded(); return block.isNull(position); }
@Override public long getSizeInBytes() { assureLoaded(); return block.getSizeInBytes(); }
@Override public Block getPositions(int[] positions, int offset, int length) { assureLoaded(); return block.getPositions(positions, offset, length); }
@Override public Block copyPositions(int[] positions, int offset, int length) { assureLoaded(); return block.copyPositions(positions, offset, length); }