All Superinterfaces:
HasArrayOps<A>
All Known Subinterfaces:
Buffer<A>, BufferLike<A>, RangeBuffer<A>
All Known Implementing Classes:
BufferOverArray, RangeBufferImpl

public interface ArrayWritable<A> extends HasArrayOps<A>
Interface for putting an array of items into a sequence at a certain offset
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    put(long offset, Object item)
     
    default void
    write(long offset, A arrayWithItemsOfTypeT)
     
    default void
    write(long offset, A arrayWithItemsOfTypeT, int arrOffset)
     
    void
    write(long offsetInBuffer, A arrayWithItemsOfTypeT, int arrOffset, int arrLength)
    The method that needs to be implemented; all other methods default-delegate to this one.

    Methods inherited from interface org.apache.jena.sparql.service.enhancer.slice.api.HasArrayOps

    getArrayOps
  • Method Details

    • write

      void write(long offsetInBuffer, A arrayWithItemsOfTypeT, int arrOffset, int arrLength) throws IOException
      The method that needs to be implemented; all other methods default-delegate to this one.
      Throws:
      IOException
    • put

      default void put(long offset, Object item) throws IOException
      Throws:
      IOException
    • write

      default void write(long offset, A arrayWithItemsOfTypeT, int arrOffset) throws IOException
      Throws:
      IOException
    • write

      default void write(long offset, A arrayWithItemsOfTypeT) throws IOException
      Throws:
      IOException