code: private void insertPackedChunkValues(PreparedStatement insertPStatement, int chunkId,
                                           int fileId, long[] packedValues)
              throws SQLException {
          assert(chunkId != -1);
  
          insertPStatement.setInt(1, chunkId);
          insertPStatement.setInt(2, fileId);
          for (int i = 0; i < 8; i++) {
              insertPStatement.setLong(i + 3, packedValues[i]);
          }
          insertPStatement.addBatch();
      }
docs: Insert packed values into the database using a prepared statement batch for efficiency.
  
  @param insertPStatement  Prepared statement
  @param chunkId           ID of the chunk target
  @param fileId            ID of the file target
  @param packedValues      An array of 8-long values, each long value contain 8-byte chunk values
  @throws SQLException