danielcweeks commented on code in PR #13997: URL: https://github.com/apache/iceberg/pull/13997#discussion_r2342315071
########## api/src/main/java/org/apache/iceberg/io/RangeReadable.java: ########## @@ -77,4 +81,41 @@ default void readFully(long position, byte[] buffer) throws IOException { default int readTail(byte[] buffer) throws IOException { return readTail(buffer, 0, buffer.length); } + + /** + * Is the {@link #readVectored(List, IntFunction)} method available? + * + * @param allocate the allocator to use for allocating ByteBuffers + * @return True if the operation is considered available for this allocator. + */ + default boolean readVectoredAvailable(IntFunction<ByteBuffer> allocate) { Review Comment: If we have the default implementation, we don't need this as part of the interface. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org