Class AlluxioInputHelper

java.lang.Object
io.trino.filesystem.alluxio.AlluxioInputHelper

public class AlluxioInputHelper extends Object
  • Constructor Details

    • AlluxioInputHelper

      public AlluxioInputHelper(io.opentelemetry.api.trace.Tracer tracer, Location location, String cacheKey, alluxio.client.file.URIStatus status, alluxio.client.file.cache.CacheManager cacheManager, alluxio.conf.AlluxioConfiguration configuration, AlluxioCacheStats statistics)
  • Method Details

    • doCacheRead

      public int doCacheRead(long position, byte[] bytes, int offset, int length) throws IOException
      Throws:
      IOException
    • alignRead

      public AlluxioInputHelper.PageAlignedRead alignRead(long position, long length)
    • putCache

      public void putCache(long pageStart, long pageEnd, byte[] readBuffer, int length)