Interface ClickHouseDataUpdater

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int update​(byte[] bytes, int position, int limit)
      Byte array(from position to limit) to update, usually read or write.
    • Method Detail

      • update

        int update​(byte[] bytes,
                   int position,
                   int limit)
            throws IOException
        Byte array(from position to limit) to update, usually read or write.
        Parameters:
        bytes - non-null byte array to update
        position - zero-based index indicating start position of the byte array
        limit - zero-based index indicating end position of the byte array, it should always greater than or equal to position
        Returns:
        negative number, usually -1, indicates to more to update, or other number for bytes being updated
        Throws:
        IOException - when it failed to update